|
81 | 81 | "onCommand:vscode-objectscript.removeItemsFromProject", |
82 | 82 | "onCommand:vscode-objectscript.loadStudioSnippets", |
83 | 83 | "onCommand:vscode-objectscript.loadStudioColors", |
| 84 | + "onCommand:vscode-objectscript.newFile.businessOperation", |
| 85 | + "onCommand:vscode-objectscript.newFile.bpl", |
| 86 | + "onCommand:vscode-objectscript.newFile.rule", |
| 87 | + "onCommand:vscode-objectscript.newFile.businessService", |
| 88 | + "onCommand:vscode-objectscript.newFile.dtl", |
84 | 89 | "onLanguage:objectscript", |
85 | 90 | "onLanguage:objectscript-int", |
86 | 91 | "onLanguage:objectscript-class", |
|
294 | 299 | { |
295 | 300 | "command": "vscode-objectscript.loadStudioColors", |
296 | 301 | "when": "isWindows" |
| 302 | + }, |
| 303 | + { |
| 304 | + "command": "vscode-objectscript.newFile.businessOperation", |
| 305 | + "when": "false" |
| 306 | + }, |
| 307 | + { |
| 308 | + "command": "vscode-objectscript.newFile.bpl", |
| 309 | + "when": "false" |
| 310 | + }, |
| 311 | + { |
| 312 | + "command": "vscode-objectscript.newFile.rule", |
| 313 | + "when": "false" |
| 314 | + }, |
| 315 | + { |
| 316 | + "command": "vscode-objectscript.newFile.businessService", |
| 317 | + "when": "false" |
| 318 | + }, |
| 319 | + { |
| 320 | + "command": "vscode-objectscript.newFile.dtl", |
| 321 | + "when": "false" |
297 | 322 | } |
298 | 323 | ], |
299 | 324 | "view/title": [ |
|
539 | 564 | "when": "vscode-objectscript.connectActive && resourceScheme =~ /^isfs(-readonly)?$/ && resource =~ /project%3D/ && explorerResourceIsRoot", |
540 | 565 | "group": "objectscript_prj@2" |
541 | 566 | } |
| 567 | + ], |
| 568 | + "file/newFile": [ |
| 569 | + { |
| 570 | + "command": "vscode-objectscript.newFile.businessOperation", |
| 571 | + "when": "workspaceFolderCount != 0", |
| 572 | + "group": "file" |
| 573 | + }, |
| 574 | + { |
| 575 | + "command": "vscode-objectscript.newFile.bpl", |
| 576 | + "when": "workspaceFolderCount != 0", |
| 577 | + "group": "file" |
| 578 | + }, |
| 579 | + { |
| 580 | + "command": "vscode-objectscript.newFile.rule", |
| 581 | + "when": "workspaceFolderCount != 0", |
| 582 | + "group": "file" |
| 583 | + }, |
| 584 | + { |
| 585 | + "command": "vscode-objectscript.newFile.businessService", |
| 586 | + "when": "workspaceFolderCount != 0", |
| 587 | + "group": "file" |
| 588 | + }, |
| 589 | + { |
| 590 | + "command": "vscode-objectscript.newFile.dtl", |
| 591 | + "when": "workspaceFolderCount != 0", |
| 592 | + "group": "file" |
| 593 | + } |
542 | 594 | ] |
543 | 595 | }, |
544 | 596 | "languages": [ |
|
973 | 1025 | "category": "ObjectScript", |
974 | 1026 | "command": "vscode-objectscript.loadStudioColors", |
975 | 1027 | "title": "Load Studio Syntax Colors" |
| 1028 | + }, |
| 1029 | + { |
| 1030 | + "category": "ObjectScript", |
| 1031 | + "command": "vscode-objectscript.newFile.businessOperation", |
| 1032 | + "title": "Business Operation" |
| 1033 | + }, |
| 1034 | + { |
| 1035 | + "category": "ObjectScript", |
| 1036 | + "command": "vscode-objectscript.newFile.bpl", |
| 1037 | + "title": "Business Process" |
| 1038 | + }, |
| 1039 | + { |
| 1040 | + "category": "ObjectScript", |
| 1041 | + "command": "vscode-objectscript.newFile.rule", |
| 1042 | + "title": "Business Rule" |
| 1043 | + }, |
| 1044 | + { |
| 1045 | + "category": "ObjectScript", |
| 1046 | + "command": "vscode-objectscript.newFile.businessService", |
| 1047 | + "title": "Business Service" |
| 1048 | + }, |
| 1049 | + { |
| 1050 | + "category": "ObjectScript", |
| 1051 | + "command": "vscode-objectscript.newFile.dtl", |
| 1052 | + "title": "Data Transformation" |
976 | 1053 | } |
977 | 1054 | ], |
978 | 1055 | "keybindings": [ |
|
0 commit comments