|
2 | 2 | "name": "vscode-objectscript",
|
3 | 3 | "displayName": "InterSystems ObjectScript",
|
4 | 4 | "description": "InterSystems ObjectScript language support for Visual Studio Code",
|
5 |
| - "version": "1.5.2022032101-SNAPSHOT", |
| 5 | + "version": "1.7.2022040601-SNAPSHOT", |
6 | 6 | "icon": "images/logo.png",
|
7 | 7 | "aiKey": "9cd75d51-697c-406c-a929-2bcf46e97c64",
|
8 | 8 | "categories": [
|
|
47 | 47 | }
|
48 | 48 | ],
|
49 | 49 | "engines": {
|
50 |
| - "vscode": "^1.63.0" |
| 50 | + "vscode": "^1.66.0" |
51 | 51 | },
|
52 | 52 | "enabledApiProposals": [
|
53 | 53 | "fileSearchProvider",
|
54 |
| - "textSearchProvider", |
55 |
| - "outputChannelLanguage" |
| 54 | + "textSearchProvider" |
56 | 55 | ],
|
57 | 56 | "activationEvents": [
|
58 | 57 | "onDebug",
|
|
92 | 91 | "viewsWelcome": [
|
93 | 92 | {
|
94 | 93 | "view": "explorer",
|
95 |
| - "contents": "Begin local ObjectScript development by opening a folder or cloning a repository. Then switch to the new ObjectScript view in the Activity Bar.\nYou can also create a new workspace to [edit or view code directly on an InterSystems server](https://intersystems-community.github.io/vscode-objectscript/serverside/).\n[Choose Server and Namespace](command:vscode-objectscript.addServerNamespaceToWorkspace)", |
96 |
| - "when": "!isWeb" |
| 94 | + "contents": "Begin local ObjectScript development by opening a folder or cloning a repository. Then switch to the new ObjectScript view in the Activity Bar.\nYou can also create a new workspace to [edit or view code directly on an InterSystems server](https://intersystems-community.github.io/vscode-objectscript/serverside/).\n[Choose Server and Namespace](command:vscode-objectscript.addServerNamespaceToWorkspace)" |
97 | 95 | },
|
98 | 96 | {
|
99 | 97 | "view": "ObjectScriptExplorer",
|
|
550 | 548 | {
|
551 | 549 | "category": "ObjectScript",
|
552 | 550 | "command": "vscode-objectscript.export",
|
553 |
| - "title": "Export Code from Server", |
554 |
| - "enablement": "!isWeb" |
| 551 | + "title": "Export Code from Server" |
555 | 552 | },
|
556 | 553 | {
|
557 | 554 | "category": "ObjectScript",
|
|
669 | 666 | {
|
670 | 667 | "category": "ObjectScript",
|
671 | 668 | "command": "vscode-objectscript.serverActions",
|
672 |
| - "title": "Server Actions...", |
673 |
| - "enablement": "!isWeb" |
| 669 | + "title": "Server Actions..." |
674 | 670 | },
|
675 | 671 | {
|
676 | 672 | "category": "ObjectScript",
|
|
707 | 703 | {
|
708 | 704 | "category": "ObjectScript",
|
709 | 705 | "command": "vscode-objectscript.addServerNamespaceToWorkspace",
|
710 |
| - "title": "Add Server Namespace to Workspace...", |
711 |
| - "enablement": "!isWeb" |
| 706 | + "title": "Add Server Namespace to Workspace..." |
712 | 707 | },
|
713 | 708 | {
|
714 | 709 | "category": "ObjectScript",
|
715 | 710 | "command": "vscode-objectscript.connectFolderToServerNamespace",
|
716 |
| - "title": "Connect Folder to Server Namespace...", |
717 |
| - "enablement": "!isWeb" |
| 711 | + "title": "Connect Folder to Server Namespace..." |
718 | 712 | },
|
719 | 713 | {
|
720 | 714 | "category": "ObjectScript",
|
721 | 715 | "command": "vscode-objectscript.hideExplorerForWorkspace",
|
722 |
| - "title": "Hide Explorer for Workspace", |
723 |
| - "enablement": "!isWeb" |
| 716 | + "title": "Hide Explorer for Workspace" |
724 | 717 | },
|
725 | 718 | {
|
726 | 719 | "category": "ObjectScript",
|
|
746 | 739 | "category": "ObjectScript",
|
747 | 740 | "command": "vscode-objectscript.showClassDocumentationPreview",
|
748 | 741 | "title": "Show Class Documentation Preview",
|
749 |
| - "enablement": "!isWeb", |
750 | 742 | "icon": "$(open-preview)"
|
751 | 743 | },
|
752 | 744 | {
|
753 | 745 | "category": "ObjectScript",
|
754 | 746 | "command": "vscode-objectscript.exportCurrentFile",
|
755 |
| - "title": "Export Current File from Server", |
756 |
| - "enablement": "!isWeb" |
| 747 | + "title": "Export Current File from Server" |
757 | 748 | }
|
758 | 749 | ],
|
759 | 750 | "keybindings": [
|
760 | 751 | {
|
761 | 752 | "command": "vscode-objectscript.compile",
|
762 | 753 | "key": "Ctrl+F7",
|
763 | 754 | "mac": "Cmd+F7",
|
764 |
| - "when": "!isWeb && editorLangId =~ /^objectscript/" |
| 755 | + "when": "editorLangId =~ /^objectscript/" |
765 | 756 | },
|
766 | 757 | {
|
767 | 758 | "command": "vscode-objectscript.compileAll",
|
768 | 759 | "key": "Ctrl+Shift+F7",
|
769 | 760 | "mac": "Cmd+Shift+F7",
|
770 |
| - "when": "!isWeb && editorLangId =~ /^objectscript/" |
| 761 | + "when": "editorLangId =~ /^objectscript/" |
771 | 762 | },
|
772 | 763 | {
|
773 | 764 | "command": "vscode-objectscript.viewOthers",
|
774 | 765 | "key": "Ctrl+Shift+V",
|
775 | 766 | "mac": "Cmd+Shift+V",
|
776 |
| - "when": "!isWeb && editorLangId =~ /^objectscript/" |
| 767 | + "when": "editorLangId =~ /^objectscript/" |
777 | 768 | }
|
778 | 769 | ],
|
779 | 770 | "configuration": {
|
|
898 | 889 | "atelier": true,
|
899 | 890 | "generated": false,
|
900 | 891 | "filter": "",
|
| 892 | + "exactFilter": "", |
901 | 893 | "category": "*",
|
902 | 894 | "noStorage": false,
|
903 | 895 | "dontExportIfNoChanges": false,
|
|
957 | 949 | "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%'`).",
|
958 | 950 | "type": "string"
|
959 | 951 | },
|
| 952 | + "exactFilter": { |
| 953 | + "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 'exactFilter'`). If provided, `objectscript.export.filter` is ignored.", |
| 954 | + "type": "string" |
| 955 | + }, |
960 | 956 | "category": {
|
961 | 957 | "markdownDescription": "Category of source code to export: `CLS` = classes; `RTN` = routines; `CSP` = csp files; `OTH` = other. Default is `*` = all.",
|
962 | 958 | "type": [
|
|
1068 | 1064 | "default": false
|
1069 | 1065 | },
|
1070 | 1066 | "objectscript.openClassContracted": {
|
1071 |
| - "description": "Automatically collapse all folding ranges when a class is opened for the first time.", |
| 1067 | + "description": "Automatically collapse all class member folding ranges when a class is opened for the first time.", |
1072 | 1068 | "type": "boolean",
|
1073 | 1069 | "default": false
|
1074 | 1070 | },
|
|
1084 | 1080 | {
|
1085 | 1081 | "id": "ObjectScriptExplorer",
|
1086 | 1082 | "name": "Explorer",
|
1087 |
| - "when": "!isWeb && workspaceFolderCount != 0 && config.objectscript.showExplorer == true" |
| 1083 | + "when": "workspaceFolderCount != 0 && config.objectscript.showExplorer == true" |
1088 | 1084 | }
|
1089 | 1085 | ]
|
1090 | 1086 | },
|
|
1114 | 1110 | "label": "ObjectScript Debug",
|
1115 | 1111 | "program": "./out/debug/debugAdapter.js",
|
1116 | 1112 | "runtime": "node",
|
1117 |
| - "when": "!isWeb", |
1118 | 1113 | "configurationAttributes": {
|
1119 | 1114 | "launch": {
|
1120 | 1115 | "required": [],
|
|
1207 | 1202 | "test": "node ./out/test/runTest.js",
|
1208 | 1203 | "lint": "eslint src/**",
|
1209 | 1204 | "lint-fix": "eslint --fix src/**",
|
1210 |
| - "download-api": "vscode-dts dev 1.65.0", |
| 1205 | + "download-api": "vscode-dts dev 1.66.0", |
1211 | 1206 | "postinstall": "npm run download-api"
|
1212 | 1207 | },
|
1213 | 1208 | "devDependencies": {
|
1214 | 1209 | "@types/glob": "^7.1.2",
|
1215 | 1210 | "@types/mocha": "^7.0.2",
|
1216 | 1211 | "@types/node": "^14.18.0",
|
1217 |
| - "@types/vscode": "^1.43.0", |
| 1212 | + "@types/vscode": "^1.66.0", |
1218 | 1213 | "@types/ws": "^7.2.5",
|
1219 | 1214 | "@types/xmldom": "^0.1.29",
|
1220 | 1215 | "@typescript-eslint/eslint-plugin": "^4.32.0",
|
|
0 commit comments