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

Support more VSCode diagnostic severities #139

Closed alobakin closed 4 months ago

alobakin commented 9 months ago

Currently, the severity is hardcoded[0] to

STYLE ? Information : Error

I would like, for example, to not have anything Error level messages if a file can be compiled by the compiler. As a minimum, it would be useful to control the severity level for the non-style problems. Ideally, it would be great to be able to configure the severity for each level separately.

[0] https://github.com/Ericsson/CodecheckerVSCodePlugin/blob/main/src/editor/diagnostics.ts#L32