|
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", |
|
262 | 263 | "explorer/context": [ |
263 | 264 | { |
264 | 265 | "command": "vscode-objectscript.compileFolder", |
265 | | - "when": "vscode-objectscript.connectActive", |
| 266 | + "when": "vscode-objectscript.connectActive && resourceScheme == file", |
| 267 | + "group": "objectscript@1" |
| 268 | + }, |
| 269 | + { |
| 270 | + "command": "vscode-objectscript.importFolder", |
| 271 | + "when": "vscode-objectscript.connectActive && resourceScheme == file", |
266 | 272 | "group": "objectscript@1" |
267 | 273 | }, |
268 | 274 | { |
|
478 | 484 | "command": "vscode-objectscript.compileFolder", |
479 | 485 | "title": "Import and Compile" |
480 | 486 | }, |
| 487 | + { |
| 488 | + "category": "ObjectScript", |
| 489 | + "command": "vscode-objectscript.importFolder", |
| 490 | + "title": "Import without Compilation" |
| 491 | + }, |
481 | 492 | { |
482 | 493 | "category": "ObjectScript", |
483 | 494 | "command": "vscode-objectscript.serverCommands.sourceControl", |
|
0 commit comments