-
Notifications
You must be signed in to change notification settings - Fork 32
/
voice-assistant.json
42 lines (40 loc) · 3.04 KB
/
voice-assistant.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
{
"commands": [
{ "command": "Do undo", "action": "undo" },
{ "command": "Do copy", "action": "copy" },
{ "command": "Do cut", "action": "cut" },
{ "command": "Do delete", "action": "delete" },
{ "command": "Do paste", "action": "paste" },
{ "command": "Do open folder", "action": "vsc-command:vscode.openFolder" },
{ "command": "Do find class", "action": "vsc-command:workbench.action.findInFiles", "args": [ { "query": "class" } ] },
{ "command": "Put nothing", "snippet": "" },
{ "command": "Put zero", "snippet": "0" },
{ "command": "Put one", "snippet": "1" },
{ "command": "Put quote", "snippet": "'" },
{ "command": "Put tabulator", "snippet": "\t" },
{ "command": "Put space", "snippet": " " },
{ "command": "Put equal", "snippet": "=" },
{ "command": "Put null", "snippet": "null" },
{ "command": "Put new line", "snippet": "\n" },
{ "command": "Put function", "snippet": "function " },
{ "command": "Put variable", "snippet": "var " },
{ "command": "Put constant", "snippet": "const " },
{ "command": "Put private", "snippet": "private " },
{ "command": "Put public", "snippet": "public " },
{ "command": "Put this", "snippet": "this.", "ext": [".ts", ".js"] },
{ "command": "Put let", "snippet": "let ", "ext": [".ts", ".js"] },
{ "command": "Put throw error", "snippet": "throw new Error($1);", "ext": [".ts", ".js"] },
{ "command": "Create for", "snippet": "for ($1; $2; $3) {\n\t$4\n}\n", "ext": [".ts", ".js"] },
{ "command": "Create variable", "snippet": "var ${1:name} = ${2:null};", "ext": [".ts", ".js"] },
{ "command": "Create function", "snippet": "function ${1:name}() {\n\t$2\n}\n", "ext": [".ts", ".js"] },
{ "command": "Create class", "snippet": "export class ${1:name} {\n\t$2\n}\n", "ext": [".ts", ".js"] },
{ "command": "Create public function", "snippet": "public ${1:name}() {\n\t$2\n}\n", "ext": [".ts", ".js"] },
{ "command": "Create private function", "snippet": "private ${1:name}() {\n\t$2\n}\n", "ext": [".ts", ".js"] },
{ "command": "Create private property", "snippet": "private ${1:name}: ${2:any} = ${3:null};\n", "ext": [".ts"] },
{ "command": "Create public property", "snippet": "public ${1:name}: ${2:any} = ${3:null};\n", "ext": [".ts"] },
{ "command": "Create switch", "snippet": "switch (${1:true}) {\n\t$2\n}\n", "ext": [".ts", ".js"] },
{ "command": "Create case", "snippet": "case ${1:true}:\n\t$2\n\tbreak;\n", "ext": [".ts", ".js"] },
{ "command": "Create default", "snippet": "default:\n\t$2\n\tbreak;\n", "ext": [".ts", ".js"] },
{ "command": "Create try catch", "snippet": "try {\n\t$1\n} catch (${2:e}) {\n\t$3\n}\n", "ext": [".ts", ".js"] }
]
}