'why is Intellisense not working in my VS Code?

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... imagereference



Solution 1:[1]

Solution 1 :

  1. Ctrl + Shift + p
  2. Write "OmniSharp: Select Project" and press Enter.
  3. Choose the solution workspace entry.
  4. 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.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1