- Home /
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!
$$anonymous$$ight be connected to this: https://github.com/OmniSharp/omnisharp-vscode/issues/3673
Answer by valentingurkov · Mar 17, 2020 at 07:14 AM
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:
Thank you for the reply! I made the changes you suggested but haven't noticed a significant difference. I've also noticed that it doesn't totally fail to work it just takes about 30 $$anonymous$$utes to sort something out before working.
I'm getting this error as well:
It also doesn't show that the project is selected in the bottom left right away.