Details
-
Bug
-
Resolution: Incomplete
-
Not Evaluated
-
None
-
Qt Creator 7.0.0
Description
The "new" keyword in a C++ project does not always get color-coded correctly, and appears to randomly jump between the color of a keyword and a non-keyword, depending on what's around it with no rhyme or reason.
This is with clangd enabled. If I disable clangd it works as before (Qt 6, 5, etc all color-coded the "new" keyword as a keyword always consistently). This is on macOS (I haven't tried Windows or Linux).
Description of problem: In Qt 7 w/ clangd, if I type "new" it first starts off colored as a keyword, and then sometimes (but not always), depending on context, randomly jumps to non-keyword color coding.
See attached screenshots and sample program.