Created
March 11, 2021 22:57
-
-
Save erik4github/246034202fa4b0991ccaee5016b267e8 to your computer and use it in GitHub Desktop.
Apex User Snippets for VSCode
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"InvocableMethod": { | |
"prefix": "InvocableMethod", | |
"body": [ | |
"@InvocableMethod(label='$1' description='$2' callout=${3|true,false|} category='$4' configurationEditor='$5')" | |
], | |
"description": "Apex InvocableMethod Annotation, @see https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_classes_annotation_InvocableMethod.htm" | |
}, | |
"InvocableVariable": { | |
"prefix": "InvocableVar", | |
"body": [ | |
"@InvocableVariable(label='$1' description='$2' required=${3|true,false|})" | |
], | |
"description": "Apex InvocableVariable Annotation, @see https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_classes_annotation_InvocableVariable.htm" | |
}, | |
"ArrayList": { | |
"prefix": "Array", | |
"body": "${1:type}[] ${2:varName} = new ${1:type}[]{${3:element}};" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment