notskm / vscode-clang-tidy

MIT License
49 stars 25 forks source link

clang-tidy triggers the lint of the file whenever the file is saved despite "clang-tidy.lintOnSave": false #43

Open jfrascon opened 4 years ago

jfrascon commented 4 years ago

I don't want the file to be linted when I save it because all the cores skyrocket the load. I prefer to have the control of the proper moment to lint my files, that's why I set this option "clang-tidy.lintOnSave": false But, this options is, at least, not working for me, because every time I hit Ctrl+S, the current file is linted. Any suggestions? Thanks in advanced.

Edit: I have this option set in the global settings.json. Is it necessary to have this option also set in the specific workspace I'm working on?

notskm commented 3 years ago

I have this option set in the global settings.json. Is it necessary to have this option also set in the specific workspace I'm working on?

It should work if you set it globally. Setting it in the workspace will override the global setting.

Sounds like a bug. I'll look into it.