C_CPP.intellisense disabled. How to enable again

Viewed 1917

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.

1 Answers

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"

Related