You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently includePath and browse.path can only be set in project-specific .vscode/c_cpp_properties.json and this leads to a lot of problems:
Have to copy the c_cpp_properties.json in every project.
Single file cannot have c_cpp_properties.json, so no intelliSense at all.
A git repo cannot share c_cpp_properties.json because some users have very different includePath and browse.path due to non-default header/library installation.
Feature request:
Allow to set default includePath and browse.path in VSCode settings.json.
If includePath and browse.path are set in both settings.json and project-specific c_cpp_properties.json, includePath and browse.path in c_cpp_properties.json should have higher precedence, just like -I and /I flags have higher precedence than -isysroot flag and INCLUDE environment variable.
It might also make sense to have a separate symbol database for includePath and browse.path from settings.json to avoid re-parsing.
The text was updated successfully, but these errors were encountered:
Problem:
Currently
includePath
andbrowse.path
can only be set in project-specific.vscode/c_cpp_properties.json
and this leads to a lot of problems:c_cpp_properties.json
in every project.c_cpp_properties.json
, so no intelliSense at all.c_cpp_properties.json
because some users have very differentincludePath
andbrowse.path
due to non-default header/library installation.Feature request:
Allow to set default
includePath
andbrowse.path
in VSCodesettings.json
.If
includePath
andbrowse.path
are set in bothsettings.json
and project-specificc_cpp_properties.json
,includePath
andbrowse.path
inc_cpp_properties.json
should have higher precedence, just like-I
and/I
flags have higher precedence than-isysroot
flag andINCLUDE
environment variable.It might also make sense to have a separate symbol database for
includePath
andbrowse.path
fromsettings.json
to avoid re-parsing.The text was updated successfully, but these errors were encountered: