-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathvscode-commandbar-schema.json
More file actions
87 lines (87 loc) · 2.43 KB
/
vscode-commandbar-schema.json
File metadata and controls
87 lines (87 loc) · 2.43 KB
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"skipTerminateQuickPick": {
"type": "boolean",
"description": "Do not show Terminate QuickPick.",
"default": false
},
"skipSwitchToOutput": {
"type": "boolean",
"description": "Do not switch to Output.",
"default": false
},
"skipErrorMessage": {
"type": "boolean",
"description": "Do not popup Error message.",
"default": false
},
"commands": {
"type": "array",
"description": "An array of commands",
"items": {
"type": "object",
"required": [ "text", "command" ],
"properties": {
"text": {
"type": "string",
"description": "Displayed text of status bar item."
},
"command": {
"type": "string",
"description": "Command content according to commandType:\n1. 'exec': executes command e.g 'npm run serve' (default).\n2. 'script': executes 'package.json' script.\n3. 'palette': executes vscode registered command.\n4. 'file': opens a file or an url (comma-separated list)."
},
"alignment": {
"type": "string",
"description": "Alignment of status bar item.",
"enum": [ "left", "right" ],
"default": "left"
},
"tooltip": {
"type": "string",
"description": "Tooltip of status bar item."
},
"color": {
"type": "string",
"description": "Text color of status bar item."
},
"language": {
"type": "string",
"description": "Language filter of status bar item."
},
"priority": {
"type": "number",
"description": "Priority (placement) of status bar item."
},
"commandType": {
"type": "string",
"description": "Type of command.\n1. 'exec': executes command e.g 'npm run serve' (default).\n2. 'script': executes 'package.json' script.\n3. 'palette': executes vscode registered command.\n4. 'file': opens a file(s).",
"enum": [
"exec",
"script",
"palette",
"file"
],
"default": "exec"
},
"skipTerminateQuickPick": {
"type": "boolean",
"description": "Do not show Terminate QuickPick.",
"default": false
},
"skipSwitchToOutput": {
"type": "boolean",
"description": "Do not switch to Output.",
"default": false
},
"skipErrorMessage": {
"type": "boolean",
"description": "Do not popup Error message.",
"default": false
}
}
}
}
}
}