Ericsson / CodecheckerVSCodePlugin

VSCode plugin that shows bugs detected by the Clang Static Analyzer and Clang Tidy analyzers using CodeChecker as a backend.
Apache License 2.0
24 stars 7 forks source link

Plugin does not handle multi-root workspace #113

Closed benjaminhdavis closed 10 months ago

benjaminhdavis commented 2 years ago

I'm using this plugin on a multi-root workspace with a configuration like:

folder1/compile_commands.json folder2/compile_commands.json

If I modify C code in folder2/something.c the CodeChecker analyze will run using folder1/compile_commands.json

dkrupp commented 2 years ago

I think this feature is best supported by the CodeChecker tooling itself, because then it would give the same look and feel for command line users: https://github.com/Ericsson/codechecker/issues/3708

dkrupp commented 10 months ago

If the plugin is used with CodeChecker 6.22.0 it does handle multi-root workspace.