All notable changes to the "salesforce-snippets" extension will be documented in this file.
Check Keep a Changelog for recommendations on how to structure this file.
sysassnoteq
snippet forSystem.assertNotEqual(expected, actual);
.
formap
snippet to iterate over a map.ter
snippet for a ternary statment.setidsfromrecordlist
snippet to return a set of ids from an SObject record list.
mapids
snippet prefix tomapfromrecordlist
- The snippet table (
ifnotnull
+testmethod
were missing).
- The Snippet table in the readme to show correct snippets.
- For some snippets the final tab will leave the cursor at the end of a new line instead of adding a new line. This prevents the new line needing to be removed when not needed. (
newobj
, ``sobjecttype,sobjectfield
, `describefieldresult`, `mapids`).
- Snippets already in salesforce extension pack (
if
,else
,while
,do while
).
- Apex Snippets.