This is an example of a race condition when the syntax highlighting coloring overrides the semantic highliting one.
My current thinking is that the ideal fix would be to make semantic highlighting coloring higher priority than syntax coloring (if I'm bnot mistaken, this is also how this issue is fixed in the Java support).
My current thinking is that the ideal fix would be to make semantic highlighting coloring higher priority than syntax coloring (if I'm bnot mistaken, this is also how this issue is fixed in the Java support).
Leave a comment
semantic highlighting goes wrong
on 2013-11-05 09:48 *
By Simon Schäfer
Is it not the other way around?
this
is a keyword and in your screenshot it is overwritten by semantic highlighting.
While it is true that `this` is a keyword, In this case I would expect it to be colored as a method, as `this` is used for defining/calling a constructor in this context. My resoning is that `this` as a keyword refers to the instance, while in the case of a constructor definition it has clearly a different meaning. Semantic highlighting should color identifiers according to their meaning.
on 2013-11-07 03:34 *
By Mirco Dotta
(Comment removed)
on 2013-11-07 03:34 *
By Mirco Dotta
(Comment removed)
on 2013-11-07 03:34 *
By Mirco Dotta
(Comment removed)
on 2013-11-07 03:34 *
By Mirco Dotta
(Comment removed)
on 2013-11-07 03:34 *
By Mirco Dotta
(Comment removed)
on 2013-11-07 03:34 *
By Mirco Dotta
(Comment removed)
on 2013-11-07 03:34 *
By Mirco Dotta
(Comment removed)
on 2013-11-07 03:34 *
By Mirco Dotta
(Comment removed)
No file chosen
You have an empty file field. Please select or remove it.
Name | Size | ||
---|---|---|---|
semantic-highlighting.png | 10.1 KB | Added by Mirco Dotta on 2013-11-04 - Upload new version |