johnthagen / clion-cppcheck

:ballot_box_with_check: cppcheck plugin for CLion
https://plugins.jetbrains.com/plugin/8143-cppcheck/
MIT License
31 stars 6 forks source link

Display `Cppcheck Path` configuration errors as global inspection errors instead of using a (hard to spot) status bar message #83

Closed firewave closed 1 year ago

firewave commented 1 year ago

Currently if the Cppcheck Path is not configured it will just show an extreme hard-to-spot message in the status bar.

image

That message may also be overwritten at any point so it is very unlikely any user will ever recognize it. It also isn't listed in the notifications.

So report it as a global inspection error so it is visible to the user. This is similar to what I did in #81:

image

It will now also report errors in case the file cannot be found instead of showing an execution failure:

image