Status Update
Comments
vi...@google.com <vi...@google.com>
tn...@google.com <tn...@google.com> #2
I had recently noticed this too but thought it was just a change to Darcula (in the past they had already changed the warning underline to a text highlight). But when I spotted it in the default IntelliJ theme too I realized it's a different problem.
And sure enough -- something changed in IntelliJ recently where they map ProblemHighlightType.ERROR to #LIKE_UNKNOWN_SYMBOL. They already have a different style which maps to the previous error style: GENERIC_ERROR.
I'll update lint's code to map avoid calling HighlightInfo.convertSeverityToProblemHighlight for HighlightSeverity.ERROR and instead directly use ProblemHighlightType.GENERIC_ERROR.
tn...@google.com <tn...@google.com> #3
Fix pending in I359a01fb4f225d5890e26341add0ecc88d02f61e
tn...@google.com <tn...@google.com> #4
Fixed in upcoming canary. Thanks for the report!
za...@gmail.com <za...@gmail.com> #5
Thanks!
Description
The new UI for lint errors make it look like it's a compile error rather than the prior UI (just a red underline). I think it should stick with the red underline since it's not a compile error. It also makes it seem like the elements aren't indexed, which isn't true and makes it confusing when looking at a file and has made me think I'm missing an import when it's on types.