I have commented a macro (line 14: see the screenshot: http://www.mirari.fr/xqfZ.png ). But the symbol defined still remains colorized, and the tooltip appears when the mouse is above. Reproducible: Always Steps to Reproduce: I couldn't reproduce with a simple Hello World, so I archived the (tiny) project here : http://www.mirari.fr/zzxe.zip This is the project that you can see in the screenshot. The involved headers, if needed, are here: https://github.com/debrouxl/gcc4ti/tree/next/trunk/tigcc/include/C Actual Results: The commented code is colorized, the tooltip appears Expected Results: The comment code is totally grayed out.
Maybe you noticed that the yellow background of the symbol has an offset of two characters with the real position of the symbol.
More infos: After closing/re-opening KDevelop, I remove the double slash of the comment. Now the whole line is green: http://www.mirari.fr/yegW.png When the mouse is over the macro, the wrong tooltip appears: http://www.mirari.fr/A3Fk.png
Thank you for the bug report. As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists. If this bug is no longer persisting or relevant please change the status to resolved.