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

Warn the user if the file cannot be analyzed (because it is missing from the compilation db) #137

Open dkrupp opened 10 months ago

dkrupp commented 10 months ago

Warn the user if a file cannot be analyzed (because it is missing from the compilation db, syntax error) and so "reports in current file" list is invalid.

Today, no error is shown, and the analysis is shown as successful.

This warning should be given in the "Reports in the current file" window to show the user that no report list can be shown because of an error.

dkrupp commented 10 months ago

To proceed with this, CodeChecker parse should give more info about the anlysis state. https://github.com/Ericsson/codechecker/issues/4100

dkrupp commented 10 months ago

Also give warning if the file had analysis failures.