Release Notes
Changes
- Make volatile, sharing, with, without non-keywords. These words should not have been marked as reserved keywords
- allows for
( String sharing : list )
- allows for
-
Allow expressions in statement locations. If, where, etc statements where expecting only a statement, not a variable declaration.
- allows for
if ( expr ) integer x = 123;
- allows for
-
Fixes rarely used constructor pattern
- allows for
class TestClass{ TestClass.TestClass(){ } }
- allows for
-
Fixes (unnecessary) casting SOQL statements
- allows for
Opportunity opp = (Opportunity)[ Select Id From Opportunity Limit 1];
- allows for
-
Supports SOQL Find Statements
- allows for
[ FIND ‘asdf’ in all fields returning Opportunity (Name) ]
- allows for
-
Allows for spaces in greater than/less than symbols
- allows for
x > = 3, x < = 3
- allows for
-
Rename plugin description from SalesForce to Salesforce
-
Support for (undocumented) Salesforce in-trigger methods. For example:
trigger name on object__c (before insert, before update) { List doSomething(){ return new String[]{‘asdf’}; } }
Support for upsert keyword using a field. For example:
upsert object Field__c;
- Removed java based generic and anonymous inner method support (was clashing with trigger definitions)
- More verbose License failure errors
- Fix license failure when salesforce.username wasn’t entered