Skip to content
This repository has been archived by the owner on Mar 25, 2023. It is now read-only.

ENV $workspaceFolder is not replaced in clang-tidy settings #86

Open
tebartsch opened this issue Mar 12, 2023 · 0 comments
Open

ENV $workspaceFolder is not replaced in clang-tidy settings #86

tebartsch opened this issue Mar 12, 2023 · 0 comments

Comments

@tebartsch
Copy link

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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant