(003)SlickEdit Unity的补全及Tag的创建

这篇具有很好参考价值的文章主要介绍了(003)SlickEdit Unity的补全及Tag的创建。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

项目内代码的Tag

1.项目代码有大修改后,unity 编辑器内重新生成项目解决方案:
vscode unity代码补全,SlickEdit,slickedit
2.slickedit 刷新解决方案:
vscode unity代码补全,SlickEdit,slickedit

3.指定索引某个目录下的 dll, 比如 unity 工程目录下 library 目录,注意选择语言
vscode unity代码补全,SlickEdit,slickedit

4.新建 XML 文件的 Tag索引:
vscode unity代码补全,SlickEdit,slickedit

unity 源码的补全

步骤

1.下载 unity 源码。

2.将自定义文件 MonoBehaviour.cs 放到解压后的项目里面:

using System;

namespace UnityEngine
{
    public partial class MonoBehaviour
    {
        public virtual void Awake()
        {
            throw new NotImplementedException();
        }

        public virtual void Reset()
        {
            throw new NotImplementedException();
        }

        public virtual void Start()
        {
            throw new NotImplementedException();
        }

        public virtual void Update()
        {
            throw new NotImplementedException();
        }

        public virtual void FixedUpdate()
        {
            throw new NotImplementedException();
        }

        public virtual void LateUpdate()
        {
            throw new NotImplementedException();
        }

        public virtual void OnEnable()
        {
            throw new NotImplementedException();
        }

        public virtual void OnDisable()
        {
            throw new NotImplementedException();
        }

        public virtual void OnDestroy()
        {
            throw new NotImplementedException();
        }

        public virtual void OnGUI()
        {
            throw new NotImplementedException();
        }

        public virtual void OnAnimatorIK(int layerIndex)
        {
            throw new NotImplementedException();
        }

        public virtual void OnAnimatorMove()
        {
            throw new NotImplementedException();
        }

        public virtual void OnApplicationFocus(bool hasFocus)
        {
            throw new NotImplementedException();
        }

        public virtual void OnApplicationPause(bool pauseStatus)
        {
            throw new NotImplementedException();
        }

        public virtual void OnApplicationQuit()
        {
            throw new NotImplementedException();
        }

        public virtual void OnAudioFilterRead(float[] data, int channels)
        {
            throw new NotImplementedException();
        }

        public virtual void OnBecameInvisible()
        {
            throw new NotImplementedException();
        }

        public virtual void OnBecameVisible()
        {
            throw new NotImplementedException();
        }

        public virtual void OnBeforeTransformParentChanged()
        {
            throw new NotImplementedException();
        }

        public virtual void OnCanvasGroupChanged()
        {
            throw new NotImplementedException();
        }

        public virtual void OnCanvasHierarchyChanged()
        {
            throw new NotImplementedException();
        }

        public virtual void OnCollisionEnter(Collision collision)
        {
            throw new NotImplementedException();
        }

        public virtual void OnCollisionEnter2D(Collision2D col)
        {
            throw new NotImplementedException();
        }

        public virtual void OnCollisionExit(Collision other)
        {
            throw new NotImplementedException();
        }

        public virtual void OnCollisionExit2D(Collision2D other)
        {
            throw new NotImplementedException();
        }

        public virtual void OnCollisionStay(Collision collisionInfo)
        {
            throw new NotImplementedException();
        }

        public virtual void OnCollisionStay2D(Collision2D collision)
        {
            throw new NotImplementedException();
        }

        public virtual void OnConnectedToServer()
        {
            throw new NotImplementedException();
        }

        public virtual void OnControllerColliderHit(ControllerColliderHit hit)
        {
            throw new NotImplementedException();
        }

        public virtual void OnDidApplyAnimationProperties()
        {
            throw new NotImplementedException();
        }

        public virtual void OnDrawGizmos()
        {
            throw new NotImplementedException();
        }

        public virtual void OnDrawGizmosSelected()
        {
            throw new NotImplementedException();
        }

        public virtual void OnJointBreak(float breakForce)
        {
            throw new NotImplementedException();
        }

        public virtual void OnJointBreak2D(Joint2D brokenJoint)
        {
            throw new NotImplementedException();
        }

        public virtual void OnMouseDown()
        {
            throw new NotImplementedException();
        }

        public virtual void OnMouseDrag()
        {
            throw new NotImplementedException();
        }

        public virtual void OnMouseEnter()
        {
            throw new NotImplementedException();
        }

        public virtual void OnMouseExit()
        {
            throw new NotImplementedException();
        }

        public virtual void OnMouseOver()
        {
            throw new NotImplementedException();
        }

        public virtual void OnMouseUp()
        {
            throw new NotImplementedException();
        }

        public virtual void OnMouseUpAsButton()
        {
            throw new NotImplementedException();
        }

        public virtual void OnParticleCollision(GameObject other)
        {
            throw new NotImplementedException();
        }

        public virtual void OnParticleSystemStopped()
        {
            throw new NotImplementedException();
        }

        public virtual void OnParticleTrigger()
        {
            throw new NotImplementedException();
        }

        public virtual void OnParticleUpdateJobScheduled()
        {
            throw new NotImplementedException();
        }

        public virtual void OnPostRender()
        {
            throw new NotImplementedException();
        }

        public virtual void OnPreCull()
        {
            throw new NotImplementedException();
        }

        public virtual void OnPreRender()
        {
            throw new NotImplementedException();
        }

        public virtual void OnRectTransformDimensionsChange()
        {
            throw new NotImplementedException();
        }

        public virtual void OnRenderImage(RenderTexture src, RenderTexture dest)
        {
            throw new NotImplementedException();
        }

        public virtual void OnRenderObject()
        {
            throw new NotImplementedException();
        }

        public virtual void OnServerInitialized()
        {
            throw new NotImplementedException();
        }

        public virtual void OnTransformChildrenChanged()
        {
            throw new NotImplementedException();
        }

        public virtual void OnTransformParentChanged()
        {
            throw new NotImplementedException();
        }

        public virtual void OnTriggerEnter(Collider other)
        {
            throw new NotImplementedException();
        }

        public virtual void OnTriggerEnter2D(Collider2D col)
        {
            throw new NotImplementedException();
        }

        public virtual void OnTriggerExit(Collider other)
        {
            throw new NotImplementedException();
        }

        public virtual void OnTriggerExit2D(Collider2D other)
        {
            throw new NotImplementedException();
        }

        public virtual void OnTriggerStay(Collider other)
        {
            throw new NotImplementedException();
        }

        public virtual void OnTriggerStay2D(Collider2D other)
        {
            throw new NotImplementedException();
        }

        public virtual void OnValidate()
        {
            throw new NotImplementedException();
        }

        public virtual void OnWillRenderObject()
        {
            throw new NotImplementedException();
        }
    }
}

4.新建 DefendSymbol.xml 文件,放到解压后的项目里面:

1.tag 的时候,估计只识别 xml 的 id 和 name 属性。
2.symbol 如果都是大写,补全的时候,前面输入也要大写才会有提示,设置哪里有问题吧。

<?xml version="1.0" encoding="utf-8"?>
<doc>
    <assembly>
        <name>DOTween</name>
    </assembly>
    <members>
        <member id="UNITY_2021_3_19"></member>
        <member id="UNITY_2021_3"></member>
        <member id="UNITY_2021"></member>
        <member id="UNITY_5_3_OR_NEWER"></member>
        <member id="UNITY_5_4_OR_NEWER"></member>
        <member id="UNITY_5_5_OR_NEWER"></member>
        <member id="UNITY_5_6_OR_NEWER"></member>
        <member id="UNITY_2017_1_OR_NEWER"></member>
        <member id="UNITY_2017_2_OR_NEWER"></member>
        <member id="UNITY_2017_3_OR_NEWER"></member>
        <member id="UNITY_2017_4_OR_NEWER"></member>
        <member id="UNITY_2018_1_OR_NEWER"></member>
        <member id="UNITY_2018_2_OR_NEWER"></member>
        <member id="UNITY_2018_3_OR_NEWER"></member>
        <member id="UNITY_2018_4_OR_NEWER"></member>
        <member id="UNITY_2019_1_OR_NEWER"></member>
        <member id="UNITY_2019_2_OR_NEWER"></member>
        <member id="UNITY_2019_3_OR_NEWER"></member>
        <member id="UNITY_2019_4_OR_NEWER"></member>
        <member id="UNITY_2020_1_OR_NEWER"></member>
        <member id="UNITY_2020_2_OR_NEWER"></member>
        <member id="UNITY_2020_3_OR_NEWER"></member>
        <member id="UNITY_2021_1_OR_NEWER"></member>
        <member id="UNITY_2021_2_OR_NEWER"></member>
        <member id="UNITY_2021_3_OR_NEWER"></member>
        <member id="PLATFORM_ARCH_64"></member>
        <member id="UNITY_64"></member>
        <member id="UNITY_INCLUDE_TESTS"></member>
        <member id="ENABLE_AR"></member>
        <member id="ENABLE_AUDIO"></member>
        <member id="ENABLE_CACHING"></member>
        <member id="ENABLE_CLOTH"></member>
        <member id="ENABLE_EVENT_QUEUE"></member>
        <member id="ENABLE_MICROPHONE"></member>
        <member id="ENABLE_MULTIPLE_DISPLAYS"></member>
        <member id="ENABLE_PHYSICS"></member>
        <member id="ENABLE_TEXTURE_STREAMING"></member>
        <member id="ENABLE_VIRTUALTEXTURING"></member>
        <member id="ENABLE_UNET"></member>
        <member id="ENABLE_LZMA"></member>
        <member id="ENABLE_UNITYEVENTS"></member>
        <member id="ENABLE_VR"></member>
        <member id="ENABLE_WEBCAM"></member>
        <member id="ENABLE_UNITYWEBREQUEST"></member>
        <member id="ENABLE_WWW"></member>
        <member id="ENABLE_CLOUD_SERVICES"></member>
        <member id="ENABLE_CLOUD_SERVICES_COLLAB"></member>
        <member id="ENABLE_CLOUD_SERVICES_COLLAB_SOFTLOCKS"></member>
        <member id="ENABLE_CLOUD_SERVICES_ADS"></member>
        <member id="ENABLE_CLOUD_SERVICES_USE_WEBREQUEST"></member>
        <member id="ENABLE_CLOUD_SERVICES_CRASH_REPORTING"></member>
        <member id="ENABLE_CLOUD_SERVICES_PURCHASING"></member>
        <member id="ENABLE_CLOUD_SERVICES_ANALYTICS"></member>
        <member id="ENABLE_CLOUD_SERVICES_UNET"></member>
        <member id="ENABLE_CLOUD_SERVICES_BUILD"></member>
        <member id="ENABLE_CLOUD_LICENSE"></member>
        <member id="ENABLE_EDITOR_HUB_LICENSE"></member>
        <member id="ENABLE_WEBSOCKET_CLIENT"></member>
        <member id="ENABLE_DIRECTOR_AUDIO"></member>
        <member id="ENABLE_DIRECTOR_TEXTURE"></member>
        <member id="ENABLE_MANAGED_JOBS"></member>
        <member id="ENABLE_MANAGED_TRANSFORM_JOBS"></member>
        <member id="ENABLE_MANAGED_ANIMATION_JOBS"></member>
        <member id="ENABLE_MANAGED_AUDIO_JOBS"></member>
        <member id="ENABLE_MANAGED_UNITYTLS"></member>
        <member id="INCLUDE_DYNAMIC_GI"></member>
        <member id="ENABLE_SCRIPTING_GC_WBARRIERS"></member>
        <member id="PLATFORM_SUPPORTS_MONO"></member>
        <member id="RENDER_SOFTWARE_CURSOR"></member>
        <member id="ENABLE_VIDEO"></member>
        <member id="ENABLE_ACCELERATOR_CLIENT_DEBUGGING"></member>
        <member id="PLATFORM_STANDALONE"></member>
        <member id="TEXTCORE_1_0_OR_NEWER"></member>
        <member id="PLATFORM_STANDALONE_WIN"></member>
        <member id="UNITY_STANDALONE_WIN"></member>
        <member id="UNITY_STANDALONE"></member>
        <member id="ENABLE_RUNTIME_GI"></member>
        <member id="ENABLE_MOVIES"></member>
        <member id="ENABLE_NETWORK"></member>
        <member id="ENABLE_NVIDIA"></member>
        <member id="ENABLE_CRUNCH_TEXTURE_COMPRESSION"></member>
        <member id="ENABLE_UNITY_GAME_SERVICES_ANALYTICS_SUPPORT"></member>
        <member id="ENABLE_OUT_OF_PROCESS_CRASH_HANDLER"></member>
        <member id="ENABLE_CLUSTER_SYNC"></member>
        <member id="ENABLE_CLUSTERINPUT"></member>
        <member id="PLATFORM_UPDATES_TIME_OUTSIDE_OF_PLAYER_LOOP"></member>
        <member id="GFXDEVICE_WAITFOREVENT_MESSAGEPUMP"></member>
        <member id="ENABLE_WEBSOCKET_HOST"></member>
        <member id="ENABLE_MONO"></member>
        <member id="NET_4_6"></member>
        <member id="NET_UNITY_4_8"></member>
        <member id="ENABLE_PROFILER"></member>
        <member id="DEBUG"></member>
        <member id="TRACE"></member>
        <member id="UNITY_ASSERTIONS"></member>
        <member id="UNITY_EDITOR"></member>
        <member id="UNITY_EDITOR_64"></member>
        <member id="UNITY_EDITOR_WIN"></member>
        <member id="ENABLE_UNITY_COLLECTIONS_CHECKS"></member>
        <member id="ENABLE_BURST_AOT"></member>
        <member id="UNITY_TEAM_LICENSE"></member>
        <member id="ENABLE_CUSTOM_RENDER_TEXTURE"></member>
        <member id="ENABLE_DIRECTOR"></member>
        <member id="ENABLE_LOCALIZATION"></member>
        <member id="ENABLE_SPRITES"></member>
        <member id="ENABLE_TERRAIN"></member>
        <member id="ENABLE_TILEMAP"></member>
        <member id="ENABLE_TIMELINE"></member>
        <member id="ENABLE_LEGACY_INPUT_MANAGER"></member>
        <member id="TEXTCORE_FONT_ENGINE_1_5_OR_NEWER"></member>
        <member id="ENABLE_DEBUG_AND_ABOVE_LOG"></member>
        <member id="CSHARP_7_OR_LATER"></member>
        <member id="CSHARP_7_3_OR_NEWER"></member>
    </members>
</doc>

5.索引 unityCsReference 项目: .cs;.csx;.dll;.xml;*.csproj :
vscode unity代码补全,SlickEdit,slickedit

XML

知识点

1.xml的修饰符:
vscode unity代码补全,SlickEdit,slickedit

vscode unity代码补全,SlickEdit,slickedit

附录

[1] unity源码及自定义tag文件文章来源地址https://www.toymoban.com/news/detail-842707.html

到了这里,关于(003)SlickEdit Unity的补全及Tag的创建的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包 赞助服务器费用

相关文章

  • Stable Diffusion 中英文对照&中文tag补全

    Stable Diffusion是老外做的,因此全部界面都是英文的,因此会对国内很多英语不好的小伙伴来说是一个灾难,不过这里介绍大家一个自定义翻译插件的方法如下图。 还有我们在输入的时候,由于英语水平有限对我们造成阻碍,这里还有一个输入中文即可获得英文单词的

    2024年02月12日
    浏览(30)
  • stable diffusion webui 自动补全 Tag 的插件 Tagcomplete

    本脚本为 AUTOMATIC1111 web UI 的自定义脚本,能在输入 Tag 时提供 booru 风格(如 Danbooru )的 TAG 自动补全。因为有一些模型是基于这种 TAG 风格训练的(例如 Waifu Diffusion ),因此使用这些 Tag 能获得较为精确的效果。 这个脚本的创建是为了减少因复制 Tag 在 Web UI 和 booru 网站的反

    2024年02月09日
    浏览(30)
  • vscode代码补全

    打开vscode,依次点击:文件-首选项-设置-在搜索框中输入prevent,然后找到下图的选项,将该选项前的“√”去除,即可。 插件的话,推荐aiXcoder,国产的。希望这篇文章能帮到您。       像这种代码提示,按快捷键Tab补齐 vscode常用推荐的插件有下面几个: 1)、C/C++,这个肯

    2024年02月09日
    浏览(37)
  • vscode无法自动补全

    前提:安装c/c++插件 c/c++插件功能非常强大,几乎能满足日常编码过程中常用的功能;因此也包含自动补全的功能,开启方法如下: 文件-首选项-设置: 扩展-c/c++-Intellisense,找到Intelli Sense Engine Fallback 或者直接在设置里搜Intelli Sense Engine Fallback,将该选项设置为enabled; 完成

    2024年01月17日
    浏览(33)
  • 开启/关闭VSCode代码提示(补全)

    Ctrl+, 打开设置 搜索 editor.quickSuggestions 将 other 项的值改为 off (默认为on开启状态) 搜索 启用或禁用自动完成建议 取消勾选 完成关闭! 详细图片示例: 相关介绍: on 表示开启 / off 表示关闭 / inline 表示以虚影显示,如图: other :表示注释以及字符串以外的区域的快速建议

    2024年02月05日
    浏览(37)
  • VScode代码自动补全提示

    打开设置 搜索 Suggest:Snippets Prevent Quick Suggestions ,去掉勾选 Ctrl+Shift+P打开setting.json文件,添加以下代码

    2024年02月11日
    浏览(43)
  • VScode 避免逗号、括号时自动补全

    控制是否应在遇到提交字符时接受建议。例如,在JavaScript中,半角分号(;)可以为提交字符,能够在接受建议的同时键入该字符。 比如打伪代码的时候输入一些缺少上下文的,会被vscode认为需要进行补全。于是各种逗号括号都在拼命补全一些莫名其妙的,弄得人

    2024年02月15日
    浏览(51)
  • VSCode !+tab补全失效解决方法

    转载于:关于vscode使用 !+tab 失效问题的解决办法_!+ tab-CSDN博客 ps:关于vscode使用 !+tab 失效的问题 此快捷键失效的原因是由于VsCode六月份的版本更新所导致的 可使用以下方法解决 方法1: 输入html:5 +回车键(tab) 快速生成html页面骨架 方法2: ---打开设置------搜索emmet------滑到

    2024年01月18日
    浏览(36)
  • VSCode如何自动补全JavaScript代码

    在使用Visual Studio Code(以下简称VSCode)进行JavaScript开发时,自动补全功能是一项非常有用的功能。它可以帮助开发人员更快速地编写代码,减少拼写错误和语法错误的出现。本文将介绍如何在VSCode中启用和使用自动补全功能。 安装JavaScript插件 在开始之前,你需要确保已经安

    2024年02月03日
    浏览(42)
  • 【Maven】003-基于 IDEA 创建 Maven 工程

    Maven工程的 GAVP 指的是 Group、Artifact、Version、Packaging。这是 Maven 项目的 基本坐标 ,用于 唯一标识和定位 项目。 Group(组织) : 表示项目所属的组织或公司,一般以域名的反转形式命名。例如, com.example 。 Artifact(项目名) : 表示项目的名称,即项目的唯一标识符。例如,

    2024年01月21日
    浏览(31)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包