Open luizfernandonb opened 1 month ago
Hi @luizfernandonb . I'm going to consider this a bug. I believe this did work at one time and may have regressed.
@Colengms
Just to add, the same goes for clang-tidy, it's on my path
However, the extension downloaded a version and uses it instead of the one in the PATH
And I didn't fill anything in the extension settings
I believe the clang-tidy/format issue is tracked by https://github.com/microsoft/vscode-cpptools/issues/12718 (it currently doesn't use the environment version if it's older, which was due to many users having an old version on their machine that causes stuff to not work).
Feature Request
Currently we have to put the full path of the compiler in the
compilerPath
property inc_cpp_properties.json
, and this breaks portability between systems, since the paths between Windows and Linux are different, would it be possible to put only the name of the compiler and the extension to search for the executable in the PATH environment variable?Example:
"compilerPath": "C:/Program Files/Clang/bin/clang.exe"
->"compilerPath": "clang"