VSCode F12转到定义无效。 显示未定义

Visual Studio Code

这周一直不能使用F12,简直要疯啊。重装之后莫名其妙的源代码管理修好了。但还是不能转到定义


最后。在GitHub的issue上找到了类似

https://github.com/OmniSharp/omnisharp-vscode/issues/1362


解决方法就是

Found out that this was caused by the .sln and .csproj files missing. Had to reimport the VSCode asset into unity and that fixed everything.

打开的文件夹包含.sln 和 .csproj

Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐