Help troubleshooting intellisense and omnisharp

I’ve inherited a very large codebase and I’m struggling to get code completion to work at all, when I try to “go to definition” it just hangs indefinitely. Does anybody have any suggestions to troubleshoot this kind of thing? I’ve tried regenerating the .sln and .csproj files as well, I found another post suggesting using Omnisharp: Select Project might help, and I’ve selected vscode manually through unity more than once.

I’m on Unity version 2018.3.14f1 and using Visual Studio Code 1.43.0. In vscode there is an error saying my C# extension has a performance issue.

Thank you and I look forward to any suggestions you may have!


Can’t say for sure whether on or not that will help, but there are a few tweaks to the extension you can do in VSCode. You have to open user settings (CTRL+SHIFT+P and search for user settings on Windows). In the search field search for omnisharp
Enable load projects on demand:

Increase wait time before timeout: