C_CPP.intellisense disabled. How to enable again
Asked Answered
B

3

9

An extension I had tried in Visual-Studio code appears to have disabled C/C++ intellisense. It can't be turned on again. Modifying the setting in the settings dialog has no effect [evidence: switch source/header leads to a pop up message stating C_CPP.intellisense is set to disabled.].

Spent now several hours on this, the setting even survives uninstalling the software, purging all (known) vs-code related directories or starting a thermonuclear war.

I am getting a bit desperate here. Here are my questions:

  • Is there a way to wipe everything (short of reinstalling the entire machine)?
  • Where is the authoritative setting for C-CPP.intellisense? Entry occurs in several locations (User/Remote/....). Is there a priority?
  • What other mechanisms could interfere with this setting?

Any help is greatly appreciated.

Bun answered 31/3, 2021 at 14:25 Comment(0)
C
7

Maybe the effect involved from default setting.json in below directory

C:\Users\chanli\AppData\Roaming\Code\User\settings.json

try add "C_Cpp.intelliSenseEngine": "Default"

Colver answered 18/6, 2021 at 3:11 Comment(2)
Please replace your path with %AppData%\Code\User\settings.json and indicate that it is a windows vscode path.Dimidiate
had to change it to all lowercase "C_Cpp.intelliSenseEngine": "default"Matejka
M
0

settings -> in search bar search this: C_Cpp.intelliSenseEngine for me it was "disable" . for solve error set it "default". after that in any .cpp file click on yellow lamp and change the compiler path to C:\ .... \gcc.exe ( i think any of them are ok to choose )

sorry for my bad english

Malleus answered 3/12, 2022 at 6:3 Comment(0)
E
0

I know it is an old post. However, the correct key value pair is:

"C_Cpp.intelliSenseEngine": "default"

The value is all in lowercase "default" and not in camelcase "Default".

Eider answered 21/8 at 23:26 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.