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

When a new file is opened the CodeChecker analysis should be started in the background #134

Open dkrupp opened 10 months ago

dkrupp commented 10 months ago

When a new source file is opened, the analysis (if not up-to-date) should be automatically executed in the background and the results shouldbe shown in the "reports in current file" tree.

Today, the analysis is not started, only after the "Re-analyze current file" button is pressed.

dkrupp commented 10 months ago

We concluded that if we reanalyzed the files always upon file opening that would to too resource consuming. So instead the vscode plugin should show in the codechecker window that the files "has never been analyzed" or the "analysis is out of date". This needs improvements in CodeChecker see https://github.com/Ericsson/codechecker/issues/4100