clion-cppcheck icon indicating copy to clipboard operation
clion-cppcheck copied to clipboard

error might be stuck even after file modification

Open firewave opened this issue 1 year ago • 2 comments

During editing the IDE will regularly show an error (mostly originating from incomplete code like missing braces) which no longer applies to the current content of the file. Further modifications of the file might not fix these although that should trigger a new analysis. Sometimes these disappear on their though.

I do not have a reproducer for this issue yet.

firewave avatar Jan 03 '25 15:01 firewave

image

firewave avatar Jan 04 '25 19:01 firewave

A way to fix this is to CTRL+A, CTRL+X, CTRL+V the contents of the file.

firewave avatar Jan 08 '25 13:01 firewave