vscode-clang-tidy icon indicating copy to clipboard operation
vscode-clang-tidy copied to clipboard

ENV $workspaceFolder is not replaced in clang-tidy settings

Open tebartsch opened this issue 1 year ago • 0 comments

Using vscode-clang-tidy with the following option

"clang-tidy.buildPath": "${workspaceFolder}/build",

does not work because ${workspaceFolder} is not replaced. Error Log:

Error while trying to load a compilation database:
Could not auto-detect compilation database from directory "${workspaceFolder}/build"
No compilation database found in /home/user/project/${workspaceFolder}/build or any parent directory
fixed-compilation-database: Error while opening fixed database: No such file or directory
json-compilation-database: Error while opening JSON database: No such file or directory

tebartsch avatar Mar 12 '23 14:03 tebartsch