notskm / vscode-clang-tidy

MIT License
48 stars 26 forks source link

clang-tidy.buildPath not working #21

Closed Schneegans closed 4 years ago

Schneegans commented 4 years ago

I am struggling getting the clang-tidy.buildPath to work. When used like this:

"clang-tidy.buildPath": "build/linux-release"

I get the error No compilation database found in [...absolute workspace path...]/"build/linux-release" or any parent directory. I think the issue is the superfluous " before "build. How can I get rid of this?

Thank you!

knehez commented 4 years ago

By hand, modify this: .vscode\extensions\notskm.clang-tidy-0.4.1\out\tidy.js line 30 (remove ""), and restart VS code

lpc921 commented 4 years ago

This worked for me

Schneegans commented 4 years ago

Thanks!