-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsnippets.json
56 lines (56 loc) · 1.74 KB
/
snippets.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
50
51
52
53
54
55
56
{
"id": "vscode://schemas/snippets",
"allowComments": true,
"allowTrailingCommas": true,
"defaultSnippets": [
{
"label": "Empty snippet",
"body": {
"${1:snippetName}": {
"prefix": "${2:prefix}",
"body": "${3:snippet}",
"description": "${4:description}"
}
}
}
],
"type": "object",
"description": "User snippet configuration",
"additionalProperties": {
"type": "object",
"required": [
"body"
],
"properties": {
"prefix": {
"description": "The prefix to use when selecting the snippet in intellisense",
"type": [
"string",
"array"
]
},
"isFileTemplate": {
"description": "The snippet is meant to populate or replace a whole file",
"type": "boolean"
},
"body": {
"markdownDescription": "The snippet content. Use `$1`, `${1:defaultText}` to define cursor positions, use `$0` for the final cursor position. Insert variable values with `${varName}` and `${varName:defaultText}`, e.g. `This is file: $TM_FILENAME`.",
"type": [
"string",
"array"
],
"items": {
"type": "string"
}
},
"description": {
"description": "The snippet description.",
"type": [
"string",
"array"
]
}
},
"additionalProperties": false
}
}