Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2017, Intellisense is not working

I just upgraded from VS2015 to 2017, and intellisense highlighting of syntax errors has disappeared completely. I tried some suggestions found online, mainly Edit->Intellisense->Refresh Local Cache, but that option is not there anymore.

Under Edit->Intellisense there is only Quick info which does nothing when I press it, and toggle completion mode which is greyed out

I'm using Windows 10, C++ project. Do I need to delete some old files from VS2015 in order for intellisense to work again? like the VC.db file?

Thanks

like image 865
Mich Avatar asked Jul 09 '18 21:07

Mich


People also ask

Why is IntelliSense not working in Visual Studio?

Try restarting VS Code and this should solve the issue. If you are still missing IntelliSense features after installing a language extension, open an issue in the repository of the language extension.

How do I get IntelliSense in Visual Studio 2017?

To enable the new functionality, go into Tools > Options > Text Editors > C# > IntelliSense. Check the last two boxes under Completion for highlighting and filters. Activate IntelliSense Now, switch to the code-behind for the form, pull up IntelliSense for the FlexGrid, and you'll start to see some changes.

How do I enable IntelliSense in Visual Studio?

To access this options page, choose Tools > Options, and then choose Text Editor > C# > IntelliSense.

How do I restart IntelliSense Visual Studio?

In Visual Studio 2022, open Tools -> Options -> [type in "database" in the search box] -> Text Editor -> C/C++ -> Advanced -> Recreate Database = TRUE, and then reopen the solution. Save this answer.


1 Answers

If you encounter a file in which the intellisense or error list is not functioning properly, look at the top-left corner of the navigation bar and check to see if that file is marked as “Miscellaneous Files”

If it is, the steps to solve the issue is:

  1. Go to the file inside Solution Explorer.

  2. Right-Click file and select Exclude From Project.

  3. Right-Click your project/folder where the file was and click Add Existing Item, and add the file you just removed back into your project.

This should fix whatever issues you're having. (Tip: You can multi-select source/header files, so this does not need to be done one at a time).

like image 171
Chris Avatar answered Sep 18 '22 17:09

Chris