Oliver Stöneberg
Oliver Stöneberg
More pointers on how to properly implement the plugin: https://youtrack.jetbrains.com/issue/CPP-23527#focus=Comments-27-5707401.0-0
I also came across this. The command-line will not report the warning since it will scan all files in a single scan and see the usage. In the IDE it...
I created a ticket with Cppcheck - see https://trac.cppcheck.net/ticket/9682
There's a similar issue with `unusedStructMember` warnings in headers - see https://trac.cppcheck.net/ticket/9961
Still Cppcheck could be smarter about this. Tickets are filed and hopefully at some point someone will care about it... (possibly me at some point :D)
Until Cppcheck behaves better I would suggest to internally disable these warnings for headers. I already have a patch ready.
I filed another ticket with an idea on how to improve this - see https://trac.cppcheck.net/ticket/10727.
This appears to be an issue in CLion. The shown problems never change from the initial state when the file was opened. I filed a ticket with CLion - see...
Apparently not an upstream issue but a implementation one related to #65.
This might probably be of help: https://github.com/JetBrains/intellij-platform-plugin-template