|
2 | 2 | "name": "vscode-objectscript", |
3 | 3 | "displayName": "InterSystems ObjectScript", |
4 | 4 | "description": "InterSystems ObjectScript language support for Visual Studio Code", |
5 | | - "version": "1.2.3-SNAPSHOT", |
| 5 | + "version": "1.4.2-SNAPSHOT", |
6 | 6 | "icon": "images/logo.png", |
7 | 7 | "aiKey": "9cd75d51-697c-406c-a929-2bcf46e97c64", |
8 | 8 | "categories": [ |
|
52 | 52 | "enableProposedApi": true, |
53 | 53 | "enabledApiProposals": [ |
54 | 54 | "fileSearchProvider", |
55 | | - "textSearchProvider" |
| 55 | + "textSearchProvider", |
| 56 | + "outputChannelLanguage" |
56 | 57 | ], |
57 | 58 | "activationEvents": [ |
58 | 59 | "onDebug", |
|
72 | 73 | "onCommand:vscode-objectscript.hideExplorerForWorkspace", |
73 | 74 | "onCommand:vscode-objectscript.showExplorerForWorkspace", |
74 | 75 | "onLanguage:objectscript", |
| 76 | + "onLanguage:objectscript-int", |
75 | 77 | "onLanguage:objectscript-class", |
76 | 78 | "onLanguage:objectscript-macros", |
77 | 79 | "onLanguage:xml", |
|
233 | 235 | { |
234 | 236 | "command": "vscode-objectscript.showClassDocumentationPreview", |
235 | 237 | "when": "editorLangId == objectscript-class" |
| 238 | + }, |
| 239 | + { |
| 240 | + "command": "vscode-objectscript.exportCurrentFile", |
| 241 | + "when": "resourceScheme == objectscript && vscode-objectscript.connectActive" |
236 | 242 | } |
237 | 243 | ], |
238 | 244 | "view/title": [ |
|
333 | 339 | "command": "vscode-objectscript.compileOnly", |
334 | 340 | "when": "editorLangId =~ /^objectscript/ && vscode-objectscript.connectActive", |
335 | 341 | "group": "objectscript@7" |
| 342 | + }, |
| 343 | + { |
| 344 | + "command": "vscode-objectscript.exportCurrentFile", |
| 345 | + "when": "resourceScheme == objectscript && vscode-objectscript.connectActive", |
| 346 | + "group": "objectscript@8" |
336 | 347 | } |
337 | 348 | ], |
338 | 349 | "editor/title": [ |
|
406 | 417 | "ObjectScript" |
407 | 418 | ], |
408 | 419 | "extensions": [ |
409 | | - ".mac", |
| 420 | + ".mac" |
| 421 | + ] |
| 422 | + }, |
| 423 | + { |
| 424 | + "id": "objectscript-int", |
| 425 | + "aliases": [ |
| 426 | + "ObjectScript INT" |
| 427 | + ], |
| 428 | + "extensions": [ |
410 | 429 | ".int" |
411 | 430 | ] |
412 | 431 | }, |
|
440 | 459 | }, |
441 | 460 | { |
442 | 461 | "id": "vscode-objectscript-output", |
443 | | - "aliases": [], |
444 | | - "mimetypes": [ |
445 | | - "text/x-code-output" |
446 | | - ] |
| 462 | + "aliases": [] |
447 | 463 | } |
448 | 464 | ], |
449 | 465 | "grammars": [ |
|
457 | 473 | "text.js": "js" |
458 | 474 | } |
459 | 475 | }, |
| 476 | + { |
| 477 | + "language": "objectscript-int", |
| 478 | + "scopeName": "source.objectscript", |
| 479 | + "path": "syntaxes/objectscript.tmLanguage.json" |
| 480 | + }, |
460 | 481 | { |
461 | 482 | "language": "objectscript-class", |
462 | 483 | "scopeName": "source.objectscript_class", |
|
481 | 502 | "language": "objectscript-csp", |
482 | 503 | "scopeName": "source.objectscript_csp", |
483 | 504 | "path": "syntaxes/objectscript-csp.tmLanguage.json" |
| 505 | + }, |
| 506 | + { |
| 507 | + "language": "vscode-objectscript-output", |
| 508 | + "scopeName": "source.vscode_objectscript_output", |
| 509 | + "path": "syntaxes/vscode-objectscript-output.tmLanguage.json" |
484 | 510 | } |
485 | 511 | ], |
486 | 512 | "snippets": [ |
|
491 | 517 | { |
492 | 518 | "language": "objectscript", |
493 | 519 | "path": "./snippets/objectscript.json" |
| 520 | + }, |
| 521 | + { |
| 522 | + "language": "objectscript-int", |
| 523 | + "path": "./snippets/objectscript-int.json" |
494 | 524 | } |
495 | 525 | ], |
496 | 526 | "commands": [ |
497 | 527 | { |
498 | 528 | "category": "ObjectScript", |
499 | 529 | "command": "vscode-objectscript.export", |
500 | | - "title": "Export Sources", |
| 530 | + "title": "Export Code from Server", |
501 | 531 | "enablement": "!isWeb" |
502 | 532 | }, |
503 | 533 | { |
|
695 | 725 | "title": "Show Class Documentation Preview", |
696 | 726 | "enablement": "!isWeb", |
697 | 727 | "icon": "$(open-preview)" |
| 728 | + }, |
| 729 | + { |
| 730 | + "category": "ObjectScript", |
| 731 | + "command": "vscode-objectscript.exportCurrentFile", |
| 732 | + "title": "Export Current File from Server", |
| 733 | + "enablement": "!isWeb" |
698 | 734 | } |
699 | 735 | ], |
700 | 736 | "keybindings": [ |
|
895 | 931 | "type": "boolean" |
896 | 932 | }, |
897 | 933 | "filter": { |
898 | | - "description": "SQL filter to limit what to export.", |
| 934 | + "markdownDescription": "SQL filter to limit what to export. The filter is applied to document names using the [LIKE predicate](https://irisdocs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cls?KEY=RSQL_like) (i.e. `Name LIKE '%filter%'`).", |
899 | 935 | "type": "string" |
900 | 936 | }, |
901 | 937 | "category": { |
|
1032 | 1068 | { |
1033 | 1069 | "language": "objectscript" |
1034 | 1070 | }, |
| 1071 | + { |
| 1072 | + "language": "objectscript-int" |
| 1073 | + }, |
1035 | 1074 | { |
1036 | 1075 | "language": "objectscript-class" |
1037 | 1076 | } |
|
1174 | 1213 | "glob": "^7.1.6", |
1175 | 1214 | "iconv-lite": "^0.6.0", |
1176 | 1215 | "mkdirp": "^1.0.4", |
1177 | | - "node-fetch": "3.0.0", |
| 1216 | + "node-fetch-cjs": "3.1.1", |
1178 | 1217 | "vscode-cache": "^0.3.0", |
1179 | 1218 | "vscode-debugadapter": "^1.41.0", |
1180 | 1219 | "vscode-debugprotocol": "^1.41.0", |
|
0 commit comments