Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
I frequently get a situation where Intellisense is out of sync, even though builds are successful. Restarting Omnisharp usually resolve this, though sometimes restarting VS Code is required.
Steps to Reproduce
Unknown at this time.
Performing package restore (
Intellisense matches known type information.
Intellisense shows unexpected errors with type information:
This log is empty.
VSCode version: 1.32.3
Mono InformationOmniSharp using global mono :5.18.1
Dotnet Information.NET Core SDK (reflecting any global.json): Version: 2.2.105 Commit: 7cecb35b92
Host (useful for support):
.NET Core SDKs installed:
.NET Core runtimes installed:
To install additional .NET Core runtimes or SDKs:
Visual Studio Code Extensions
BTW, there is nothing particularly special about this project. It's just a .NET Core 2.2 API project sample (it includes several services that we wire up by default for AKS, so it's suitable as a copy/paste for a starter project). If a Microsoft employee wants to look at the code, I can provide a link to an AzDO repository; just reach out to me internally at brwilso@.
I experienced the same issues every day, some scenarios I have seen it include:
All of them get resolved via restarting Omnisharp, but it gets annoying, is time consuming, and it explodes when the number of workspaces and projects grows up.