|
153 | 153 | "title": "%tunnelHost%", |
154 | 154 | "icon": "$(eye-closed)" |
155 | 155 | }, |
156 | | - { |
157 | | - "command": "gitpod.gitpodyml.build", |
158 | | - "title": "%buildGitpodYml%", |
159 | | - "icon": "$(tools)" |
160 | | - }, |
161 | 156 | { |
162 | 157 | "command": "gitpod.gitpodyml.run", |
163 | 158 | "title": "%runGitpodYml%", |
164 | 159 | "icon": "$(play)" |
165 | 160 | }, |
166 | | - { |
167 | | - "command": "gitpod.gitpodyml.editorContext.build", |
168 | | - "title": "%buildGitpodYml%", |
169 | | - "icon": "$(tools)" |
170 | | - }, |
171 | 161 | { |
172 | 162 | "command": "gitpod.gitpodyml.editorContext.run", |
173 | 163 | "title": "%runGitpodYml%", |
174 | 164 | "icon": "$(play)" |
175 | 165 | }, |
176 | | - { |
177 | | - "command": "gitpod.gitpodyml.dockerfile.editorContext.build", |
178 | | - "title": "%buildGitpodYml%", |
179 | | - "icon": "$(tools)" |
180 | | - }, |
181 | 166 | { |
182 | 167 | "command": "gitpod.gitpodyml.dockerfile.editorContext.run", |
183 | 168 | "title": "%runGitpodYml%", |
184 | 169 | "icon": "$(play)" |
185 | 170 | }, |
186 | | - { |
187 | | - "command": "gitpod.gitpodyml.editorTitle.build", |
188 | | - "title": "%buildGitpodYml%", |
189 | | - "icon": "$(tools)" |
190 | | - }, |
191 | 171 | { |
192 | 172 | "command": "gitpod.gitpodyml.editorTitle.run", |
193 | 173 | "title": "%runGitpodYml%", |
194 | 174 | "icon": "$(play)" |
195 | 175 | }, |
196 | | - { |
197 | | - "command": "gitpod.gitpodyml.dockerfile.editorTitle.build", |
198 | | - "title": "%buildGitpodYml%", |
199 | | - "icon": "$(tools)" |
200 | | - }, |
201 | 176 | { |
202 | 177 | "command": "gitpod.gitpodyml.dockerfile.editorTitle.run", |
203 | 178 | "title": "%runGitpodYml%", |
|
283 | 258 | } |
284 | 259 | ], |
285 | 260 | "editor/context": [ |
286 | | - { |
287 | | - "command": "gitpod.gitpodyml.editorContext.build", |
288 | | - "when": "gitpod.run-gp.enabled && resourceFilename == '.gitpod.yml' && resourceScheme == file", |
289 | | - "group": "0_navigation@0" |
290 | | - }, |
291 | 261 | { |
292 | 262 | "command": "gitpod.gitpodyml.editorContext.run", |
293 | | - "when": "gitpod.run-gp.enabled && resourceFilename == '.gitpod.yml' && resourceScheme == file", |
294 | | - "group": "0_navigation@0" |
295 | | - }, |
296 | | - { |
297 | | - "command": "gitpod.gitpodyml.dockerfile.editorContext.build", |
298 | | - "when": "gitpod.run-gp.enabled && gitpod.run-gp.dockerfile && resourceFilename =~ /^Dockerfile$|\\.Dockerfile$/ && resourceScheme == file", |
| 263 | + "when": "gitpod.rebuild.enabled && resourceFilename == '.gitpod.yml' && resourceScheme == file", |
299 | 264 | "group": "0_navigation@0" |
300 | 265 | }, |
301 | 266 | { |
302 | 267 | "command": "gitpod.gitpodyml.dockerfile.editorContext.run", |
303 | | - "when": "gitpod.run-gp.enabled && gitpod.run-gp.dockerfile && resourceFilename =~ /^Dockerfile$|\\.Dockerfile$/ && resourceScheme == file", |
| 268 | + "when": "gitpod.rebuild.enabled && gitpod.rebuild.dockerfile", |
304 | 269 | "group": "0_navigation@0" |
305 | 270 | } |
306 | 271 | ], |
307 | 272 | "editor/title": [ |
308 | | - { |
309 | | - "command": "gitpod.gitpodyml.editorTitle.build", |
310 | | - "when": "gitpod.run-gp.enabled && resourceFilename == '.gitpod.yml' && resourceScheme == file", |
311 | | - "group": "navigation" |
312 | | - }, |
313 | 273 | { |
314 | 274 | "command": "gitpod.gitpodyml.editorTitle.run", |
315 | | - "when": "gitpod.run-gp.enabled && resourceFilename == '.gitpod.yml' && resourceScheme == file", |
316 | | - "group": "navigation" |
317 | | - }, |
318 | | - { |
319 | | - "command": "gitpod.gitpodyml.dockerfile.editorTitle.build", |
320 | | - "when": "gitpod.run-gp.enabled && gitpod.run-gp.dockerfile && resourceFilename =~ /^Dockerfile$|\\.Dockerfile$/ && resourceScheme == file", |
| 275 | + "when": "gitpod.rebuild.enabled && resourceFilename == '.gitpod.yml' && resourceScheme == file", |
321 | 276 | "group": "navigation" |
322 | 277 | }, |
323 | 278 | { |
324 | 279 | "command": "gitpod.gitpodyml.dockerfile.editorTitle.run", |
325 | | - "when": "gitpod.run-gp.enabled && gitpod.run-gp.dockerfile && resourceFilename =~ /^Dockerfile$|\\.Dockerfile$/ && resourceScheme == file", |
| 280 | + "when": "gitpod.rebuild.enabled && gitpod.rebuild.dockerfile", |
326 | 281 | "group": "navigation" |
327 | 282 | } |
328 | 283 | ], |
|
355 | 310 | "command": "gitpod.ports.tunnelHost", |
356 | 311 | "when": "false" |
357 | 312 | }, |
358 | | - { |
359 | | - "command": "gitpod.gitpodyml.build", |
360 | | - "when": "gitpod.run-gp.enabled" |
361 | | - }, |
362 | 313 | { |
363 | 314 | "command": "gitpod.gitpodyml.run", |
364 | | - "when": "gitpod.run-gp.enabled" |
365 | | - }, |
366 | | - { |
367 | | - "command": "gitpod.gitpodyml.editorContext.build", |
368 | | - "when": "false" |
| 315 | + "when": "gitpod.rebuild.enabled" |
369 | 316 | }, |
370 | 317 | { |
371 | 318 | "command": "gitpod.gitpodyml.editorContext.run", |
372 | 319 | "when": "false" |
373 | 320 | }, |
374 | | - { |
375 | | - "command": "gitpod.gitpodyml.dockerfile.editorContext.build", |
376 | | - "when": "false" |
377 | | - }, |
378 | 321 | { |
379 | 322 | "command": "gitpod.gitpodyml.dockerfile.editorContext.run", |
380 | 323 | "when": "false" |
381 | 324 | }, |
382 | | - { |
383 | | - "command": "gitpod.gitpodyml.editorTitle.build", |
384 | | - "when": "false" |
385 | | - }, |
386 | 325 | { |
387 | 326 | "command": "gitpod.gitpodyml.editorTitle.run", |
388 | 327 | "when": "false" |
389 | 328 | }, |
390 | | - { |
391 | | - "command": "gitpod.gitpodyml.dockerfile.editorTitle.build", |
392 | | - "when": "false" |
393 | | - }, |
394 | 329 | { |
395 | 330 | "command": "gitpod.gitpodyml.dockerfile.editorTitle.run", |
396 | 331 | "when": "false" |
397 | 332 | } |
398 | 333 | ] |
399 | 334 | }, |
| 335 | + "configuration": { |
| 336 | + "title": "Gitpod", |
| 337 | + "properties": { |
| 338 | + "gitpod.validate.neverPrompt": { |
| 339 | + "type": "boolean", |
| 340 | + "description": "Control whether to prompt to validate the workspace configuration on change.", |
| 341 | + "default": false |
| 342 | + } |
| 343 | + } |
| 344 | + }, |
400 | 345 | "views": { |
401 | 346 | "portsView": [ |
402 | 347 | { |
|
0 commit comments