-
assigned issue to
- changed version to 1.7.9.2
SOQL Syntax Highlighting - Consistency
Hello Scott,
You're probably aware of this, but I figured I'd make a ticket for it - perhaps you could fix the highlighting of SOQL inside the Map constructor?:
Map<Id, Opportunity> oppMap = new Map<Id, Opportunity> ([Soql Query Here]);
List<Opportunity> oppList = [Same Soql Query];
The above two lines, no matter what the query is, will not result in the same syntax highlighting. The map in particular will have very little in the way of highlighting.
Comments (5)
-
repo owner -
Not sure if this is IC thing or IntelliJ in how it parses the symbols. When SOQL query is used in a List or Map constructor then the highlighting is based on the color preference for "Constructor Method". Interestingly, the SObject Name colorization is applied correctly, probably painted after "Constructor Method" is. If it is an order of operations thing then perhaps the SOQL colorization could be applied after the Constructor Method coloring?
-
repo owner Yeah, I need to take a look at that. I think it's because it's not able to resolve the constructor associated with the call. Definitely looks strange, though! I'll take a look soon.
-
repo owner - changed status to resolved
I believe I fixed this a little back. Please feel free to reopen if you're still seeing it.
-
reporter Agreed. I actually hadn't noticed when it came out, but it looks great now! Thanks!
- Log in to comment