Incorrect preferred case keyword warning for 'this' in SOQL statement

Issue #1653 resolved
Raihan Navroze created an issue

In SOQL statements, if an instance property is inserted with the keyword ‘this’, a warning shows up that the preferred case is THIS.

Example:

SELECT Id, Name FROM Contacts WHERE Email = :this.emailAddress

In this case, the word ‘this’ is correctly cased, yet the IDE highlights it and asks me to correct it to THIS.

Comments (2)

  1. Scott Wells repo owner

    Hah! That's interesting. It's not recognizing the transition back to Apex. I'll fix it for the next build. Thanks for reporting!

  2. Log in to comment