Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio Code Intellisense Mode

What are valid values for the c_cpp_properties.json tag "intelliSenseMode" ?

It defaults to clang-x64, but I am compiling with g++ so is there another value I can use there? I can not find any documentation about it.

like image 317
salbeira Avatar asked Sep 15 '17 14:09

salbeira


2 Answers

Because Artemy Vysotsky did not post his answer as an answer:

The documentation states that "msvc-x64" and "clang-x64" are the only possible values.

like image 134
salbeira Avatar answered Sep 28 '22 08:09

salbeira


When editing the .json configuration file, just type "intelliSenseMode": "" and let intelliSense itself help.

Actually you may use the option "intelliSenseMode": "${default}" to allow self selection.

As of today, the defaults are: clang-x64 for Mac; msvc-x64 for Windows; and gcc-x64 for Linux.

like image 43
Fábio Lobão Avatar answered Sep 28 '22 08:09

Fábio Lobão