vscode-csharp: Intellisense no longer working on C# files
Environment data
dotnet --info
output:
.NET Command Line Tools (2.0.0)
Product Information:
Version: 2.0.0
Commit SHA-1 hash: cdcd1928c9
Runtime Environment:
OS Name: Windows
OS Version: 10.0.15063
OS Platform: Windows
RID: win10-x64
Base Path: C:\Program Files\dotnet\sdk\2.0.0\
Microsoft .NET Core Shared Framework Host
Version : 2.0.0
Build : e8b8861ac7faf042c87a5c2f9f2d04c98b69f28d
VS Code version: 1.16.1 64 bit
C# Extension version: 1.12.1
Steps to reproduce
I open a C# file and try to get intellisense. It did not working in the 32 bit version and I just now installed 64 bit. I uninstalled and reinstalled C# extension but cannot get any intellisense working in C#.
Expected behavior
Intelliense
Actual behavior
No intellisense in C#
Thanks
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 21 (7 by maintainers)
This worked for me, it seems that the wrong project was being selected by Omnisharp:
Ctrl-Shift-P
Omnisharp: Select Project
Ctrl-Shift-P
Omnisharp: Restart Omnisharp
Then it started to work again.