Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to set "C_Cpp.intelliSenseMode": "Tag Parser" in visual studio code

Basd on this question in SO : Visual Studio Code Syntax Highlighting shows errors but compiles

I want to set "C_Cpp.intelliSenseMode": "Tag Parser" in setting.json,

But I am not able to set it.

enter image description here

as when add it to setting.json, I am getting the following error:

Unknown configuration setting

I am using the folloing tools:

  • Ubuntu 18.04
  • Visual studio 1.23.1
  • C/.C++ extension 0.17

How can I add this setting?

for your inform, I have similar problem as explained the the original question, I am getting error on editor but the application compiled correctly.

like image 717
mans Avatar asked Jan 29 '26 09:01

mans


1 Answers

the correct setting to use in settings.json is "C_Cpp.intelliSenseEngine": "Tag Parser"

The intelliSenseMode setting is used in c_cpp_properties.json in order to have a working autocomplete with standard libraries.

like image 171
rovalette Avatar answered Jan 30 '26 23:01

rovalette