dotnet / vscode-csharp

Official C# support for Visual Studio Code
MIT License
2.85k stars 670 forks source link

Intellisense with Unity #4042

Open james072898 opened 4 years ago

james072898 commented 4 years ago

I opened a new Unity Project, then came to VS to code and the instellisense is not working with the UnityEngine things, only with the basics C# statements. With other projects it works is about the luck, some works, some doesnt.

jmarolf commented 4 years ago

@james072898 can you get us an example project where this happens? An Omnisharp log would also help a lot. Thanks!

RGFTheCoder commented 3 years ago

If you make a new script, open unity to let it generate metadata, and make sure to "Open C# Project" by right clicking on the project viewer, instead of double clicking a script.

RGFTheCoder commented 3 years ago

And try using global mono