RedZero9 发表于 2021-12-31 19:54

Unity-VS Code 编辑器相关处理

问题一:


编辑器报错 OmniSharp.MSBuild.ProjectManager
Attempted to update project that is not loaded...

解决办法参考链接

解决步骤如下:
Go to settings. (Code -> Preferences -> Settings on Mac)
Search "omnisharp".
Find the section "Omnisharp: Use Global Mono," and set it to "always."
Find the section "Omnisharp: Path," and click "Edit in settings.json." Change "omnisharp.path" as "omnisharp.path": latest".
Reload the window.
问题二:Unity 代码自动补全


Visual Studio Code 中不能自动对 C# 代码补全,
参考解决方案:https://www.bilibili.com/read/cv9764864
页: [1]
查看完整版本: Unity-VS Code 编辑器相关处理