|
58 | 58 | "onCommand:vscode-objectscript.explorer.openClass", |
59 | 59 | "onCommand:vscode-objectscript.explorer.openRoutine", |
60 | 60 | "onCommand:vscode-objectscript.compileFolder", |
| 61 | + "onCommand:vscode-objectscript.importFolder", |
61 | 62 | "onLanguage:objectscript", |
62 | 63 | "onLanguage:objectscript-class", |
63 | 64 | "onLanguage:objectscript-macros", |
|
263 | 264 | "explorer/context": [ |
264 | 265 | { |
265 | 266 | "command": "vscode-objectscript.compileFolder", |
266 | | - "when": "vscode-objectscript.connectActive", |
| 267 | + "when": "vscode-objectscript.connectActive && resourceScheme == file", |
| 268 | + "group": "objectscript@1" |
| 269 | + }, |
| 270 | + { |
| 271 | + "command": "vscode-objectscript.importFolder", |
| 272 | + "when": "vscode-objectscript.connectActive && resourceScheme == file", |
267 | 273 | "group": "objectscript@1" |
268 | 274 | }, |
269 | 275 | { |
|
479 | 485 | "command": "vscode-objectscript.compileFolder", |
480 | 486 | "title": "Import and Compile" |
481 | 487 | }, |
| 488 | + { |
| 489 | + "category": "ObjectScript", |
| 490 | + "command": "vscode-objectscript.importFolder", |
| 491 | + "title": "Import without Compilation" |
| 492 | + }, |
482 | 493 | { |
483 | 494 | "category": "ObjectScript", |
484 | 495 | "command": "vscode-objectscript.serverCommands.sourceControl", |
|
0 commit comments