I am working on vs code. When I open any folder the IntelliSense is not working when I hover the mouse over any text. It was working before but now I don't know why it's not working. Kindly help...

CodePudding user response:
Solution 1 :
- Ctrl Shift p
- Write "OmniSharp: Select Project" and press Enter.
- Choose the solution workspace entry.
- Then enable the c# extension for "OmniSharp : Project
Solution 2 :
1- Selecting a project.json-file is opening a DNX-project and VSCode will load that project plus the referenced projects.
2- Selecting a *.sln-file is opening a MSBuild-project. It will load the referenced *.csproj-projects and sibling or descendant project.json-files but no other project files that are referenced from the solution file.
3- Selecting a folder will make VSCode scan for *.sln and project.json files and VSCode will attempt to load them all. More info see: https://github.com/OmniSharp/omnisharp-vscode/issues/1889
Solution 3 :
Download C# v1.24.0 extension can fix the intellisense for you
Solution 4: For bootstarp and HTML intellisense, add the following extentions :
NOTE : All solutions need to close your VS and reopen it again.
