Home > database >  Intellisense working for one project but not for another on same machine
Intellisense working for one project but not for another on same machine

Time:10-28

I have a Unity project on my laptop where intellisense and autocompletion works just fine with visual studio code (mac os system).

Now, i created a brand new project (same Unity version as the old one) and for that project intellisense is not working :O Same machine, same editor, everything else is the same.

Any suggestions on what could fix that since the required dependencies are already installed (the visual studio code output is not giving me any logs or other messages by the way) ?

CodePudding user response:

From omnisharp's announcements

If you still need Unity or .NET Framework support, you can set omnisharp.useModernNet to false in your VS Code settings and restart OmniSharp. Please see the Requirements section above to ensure necessary tooling is installed.

So we just need to uncheck Omnisharp: Use Modern Net in vscode settings, and beware of the settings precedence.

  • Related