-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
214 lines (214 loc) · 7.05 KB
/
package.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
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
{
"name": "cmake-tools-build-wrapper",
"displayName": "cmake-build",
"publisher": "sr-team",
"description": "Wrapper for cmake-tools to open output on build fails",
"repository": "https://github.com/sr-tream/cmake-tools-build-wrapper",
"version": "0.0.4",
"icon": "logo.png",
"keywords": [
"cmake",
"build",
"tools",
"wrapper",
"cpp",
"c++",
"c",
"cuda"
],
"engines": {
"vscode": "^1.78.0"
},
"categories": [
"Other"
],
"activationEvents": [],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "cmake-tools-build-wrapper.clean",
"title": "cmake-build: Clean"
},
{
"command": "cmake-tools-build-wrapper.build",
"title": "cmake-build: Build"
},
{
"command": "cmake-tools-build-wrapper.install",
"title": "cmake-build: Install"
},
{
"command": "cmake-tools-build-wrapper.configure",
"title": "cmake-build: Configure"
},
{
"command": "cmake-tools-build-wrapper.reconfigure",
"title": "cmake-build: Reconfigure"
},
{
"command": "cmake-tools-build-wrapper.output",
"title": "cmake-build: Open CMake/Build output channel"
}
],
"keybindings": [
{
"command": "cmake-tools-build-wrapper.build",
"key": "ctrl+b",
"when": "!cmake:hideBuildCommand && cmake:enableFullFeatureSet"
},
{
"command": "cmake-tools-build-wrapper.install",
"key": "f8",
"when": "!cmake:hideBuildCommand && cmake:enableFullFeatureSet"
}
],
"configuration": [
{
"title": "Open output window on fails",
"properties": {
"cmake-tools-build-wrapper.openOutput": {
"type": "boolean",
"description": "Automatically open output window on fails.",
"default": true,
"order": 0
},
"cmake-tools-build-wrapper.outputView": {
"type": "string",
"description": "Output window name",
"default": "CMake/Build",
"order": 1
}
}
},
{
"title": "Notifications",
"properties": {
"cmake-tools-build-wrapper.notifyFails": {
"type": "boolean",
"description": "Show notification on fails",
"default": true,
"order": 0
},
"cmake-tools-build-wrapper.notifySuccess": {
"type": "boolean",
"description": "Show notification on success",
"default": true,
"order": 1
},
"cmake-tools-build-wrapper.notifyProvider": {
"type": "string",
"description": "Provider to show notifications",
"enum": [
"Default",
"VSCode API",
"Native Notifications",
"VSCode API/Native Notifications",
"Custom provider",
"Custom provider/Native Notifications"
],
"markdownEnumDescriptions": [
"Equals to `VSCode API/Native Notifications` for Linux and `VSCode API` for otherwise.",
"Use VSCode API to show notifications.",
"**[Unix-only]**\n\nUse `notify-send` to show native notifications (Linux/MacOS).",
"**[Unix-only]**\n\nVSCode API when window is focused, otherwise use `notify-send`.",
"Use custom provider to show notifications.",
"**[Unix-only]**\n\nCustom notification provider when window is focused, otherwise use `notify-send`."
],
"default": "Default",
"order": 2
}
}
},
{
"title": "Custom notifications provider",
"properties": {
"cmake-tools-build-wrapper.customNotifyProvider.ProviderCommand": {
"type": "string",
"markdownDescription": "VSCode command to call custom notification provider.\n\nRequires `cmake-tools-build-wrapper.notifyProvider` set to `Custom provider`.",
"default": "",
"order": 0
},
"cmake-tools-build-wrapper.customNotifyProvider.Arguments": {
"type": "string",
"markdownDescription": "Arguments to pass to custom notification provider.",
"enum": [
"messageOnly",
"titleThenMessage",
"messageThenTitle"
],
"markdownEnumDescriptions": [
"Pass only message to provider.",
"Pass title and message to provider.\n\nFirst argument is treated as title, second - as message.",
"Pass message and title to provider.\n\nFirst argument is treated as message, second - as title."
],
"default": "messageOnly",
"order": 1
}
}
},
{
"title": "Notify-send configurations",
"properties": {
"cmake-tools-build-wrapper.notifySend.Path": {
"type": "string",
"markdownDescription": "**[Unix-only]**\n\nPath to `notify-send`\n\nBy default `notify-send` searched in `$PATH`.",
"default": "notify-send",
"order": 0
},
"cmake-tools-build-wrapper.notifySend.ShowTime": {
"type": "integer",
"markdownDescription": "**[Unix-only]**\n\nTime to show notification in milliseconds.\n\n Value `0` - infinity time (need to click on notification to hide).",
"default": 10000,
"order": 1
},
"cmake-tools-build-wrapper.notifySend.CriticalUrgencyForFails": {
"type": "boolean",
"markdownDescription": "**[Unix-only]**\n\nUse critical urgency for fails notifications.",
"default": false,
"order": 2
},
"cmake-tools-build-wrapper.notifySend.IconSuccess": {
"type": "string",
"markdownDescription": "**[Unix-only]**\n\nPath to icon for success notifications.",
"default": "",
"order": 3
},
"cmake-tools-build-wrapper.notifySend.IconFails": {
"type": "string",
"markdownDescription": "**[Unix-only]**\n\nPath to icon for fails notifications.",
"default": "",
"order": 4
}
}
}
]
},
"scripts": {
"vscode:package": "npm run compile && vsce package",
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "vscode-test"
},
"devDependencies": {
"@types/vscode": "^1.78.0",
"@types/mocha": "^10.0.6",
"@types/node": "18.x",
"@typescript-eslint/eslint-plugin": "^7.4.0",
"@typescript-eslint/parser": "^7.4.0",
"eslint": "^8.57.0",
"typescript": "^5.3.3",
"@vscode/test-cli": "^0.0.8",
"@vscode/test-electron": "^2.3.9",
"vsce": "^2.15.0"
},
"dependencies": {
"vscode-cmake-tools": "^1.1.0"
},
"extensionDependencies": [
"ms-vscode.cmake-tools"
]
}