1+ {
2+ // Place your global snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and
3+ // description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope
4+ // is left empty or omitted, the snippet gets applied to all languages. The prefix is what is
5+ // used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
6+ // $1, $2 for tab stops, $0 for the final cursor position, and ${1:label }, ${2:another} for placeholders.
7+ // Placeholders with the same ids are connected.
8+
9+ // APEX (put here because anonymous apex is treated as a separate file type)
10+ "Debug Emojis" : {
11+ "scope" : " apex,apex-anon" ,
12+ "prefix" : " dd" ,
13+ "body" : [" System.debug('${1|🔥,❌,🚽,🌿,💙|}$1$1$1$1$1$1$1$1$1$1$1$1$1$1$1$1$1$1$1$1$1$1$1$1$1$1');" ],
14+ "description" : " Make console output noticable"
15+ },
16+ "Debug" : {
17+ "scope" : " apex,apex-anon" ,
18+ "prefix" : " d" ,
19+ "body" : [" System.debug($1);" ],
20+ "description" : " Debug value"
21+ },
22+ "Debug String" : {
23+ "scope" : " apex,apex-anon" ,
24+ "prefix" : " d'" ,
25+ "body" : [" System.debug('$1');" ],
26+ "description" : " Debug string"
27+ },
28+ "Console Log String" : {
29+ "scope" : " apex,apex-anon" ,
30+ "prefix" : " d," ,
31+ "body" : [
32+ " System.debug('➡➡➡ $1 ⬅⬅⬅');" ,
33+ " System.debug(${1});"
34+ ],
35+ "description" : " Console log string"
36+ }
37+ }
0 commit comments