-
Notifications
You must be signed in to change notification settings - Fork 0
/
02 Snippet.json
49 lines (48 loc) · 1.15 KB
/
02 Snippet.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
"Snippet: Table": {
"prefix": "ttable (clean)",
"body": [
"table ${1:id} ${2:MyTable}",
"{",
"",
"\tfields",
"\t{",
"\t\tfield(1;${3:MyField};${4:Integer})",
"\t\t{",
"\t\t}",
"\t}",
"",
"\tkeys",
"\t{",
"\t\tkey(${5:PK};${3:MyField})",
"\t\t{",
"\t\t\tClustered = true;",
"\t\t}",
"\t}",
"",
"}"
],
"description": "Snippet: Table"
},
"Snippet: Codeunit": {
"prefix": "tcodeunit (Clean)",
"body": [
"codeunit ${1:id} \"${2:$TM_FILENAME_BASE}\"",
"{",
"\ttrigger OnRun();",
"\tbegin",
"\tend;",
"}"
],
"description": "Snippet: Codeunit"
},
"Snippet: Repeat Loop": {
"prefix": "trepeatloop",
"body" : [
"if ${1:record}.${2|FindSet,Find('-'),FindFirst|} then",
"\trepeat",
"\t\t${3}",
"\tuntil cust.next < 1;"
]
}
}