Another quick one for today, Every now and again my intellisense gets confused in Visual Studio Code displaying errors and warnings that should not exist.
The fix for this is to restart the Omnisharp process.
So first off get the commmand pallette up:
Ctrl+Shift+P
Then type:
>omnisharp:restart omnisharp
Everything should then go back to normal.
Success 🎉
Top comments (3)
I never make it that far. I start typing 'omni' and the option to restart just highlights, so I push down and enter. XD
That's awesome. The fewer keystrokes we have to type the better!
Freakin' amazing tip. This is still a problem - especially on Linux for me. Using this command will save me time and much fist shaking at VS Code.