我正在使用 Visual Studio Code 作为 Unity 5 的代码编辑器。
Visual Studio Code 自行更新,之后我发现我的 C# IntelliSense 似乎坏了。它不显示对我的类(class)的建议,它只显示 c# 语法建议。我已经检查了所有设置和日志,所以一切似乎都是正确的。有正确的工作区设置,OmniSharp 正在运行,日志中没有错误。我试过卸载/安装 VSCode 但没有成功。我不明白问题出在哪里,我需要你的帮助。
有什么解决办法吗?屏幕截图如下。
最佳答案
这可能与 C# Omnisharp 插件有关。
Support for .csproj projects has been temporarily disabled on OS X and Linux. This will impact anyone doing .csproj development on OS X or Linux (e.g. Unity, Xamarin, etc.). Rest assured that this will be restored in the near future. However, for now, you can use the Legacy C# Support extension.
https://marketplace.visualstudio.com/items?itemName=ms-vscode.csharp
关于c# - 升级到 v1.1.1 后,Visual Studio Code C# IntelliSense 不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37341505/