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

Add selector for `compile_commands.json` #24

Closed Discookie closed 2 years ago

Discookie commented 3 years ago

Closes #15.

Currently the database setup dialog has 3 options:

The dialog shows when compile_commands.json is not found. There's also a button in the Overview in an empty folder to select its path.

Currently there's no separation between missing the metadata.json and missing the compile_commands.json in the sidepanel. I'd like to add a separate sidebar panel option for it before merging.

Discookie commented 2 years ago

Added the sidepanel logic, should be ready now.

Discookie commented 2 years ago

Added watchers for all possible database paths, and the sidepanel should automatically refresh when at least one of them is found. Fixed most of the other issues as well.