notskm / vscode-clang-tidy

MIT License
49 stars 25 forks source link

Only one file is linted when changing settings.json #32

Open notskm opened 4 years ago

notskm commented 4 years ago

When you change the extension's settings, all open files are re-linted. #16 ensures that only one instance of clang-tidy ever runs at a time. This breaks the re-linting process. If multiple files are open, it tries to spawn an instance of clang-tidy for each file. Only the last gets linted because each other instance of clang-tidy is killed.