|
91 | 91 | "viewsWelcome": [ |
92 | 92 | { |
93 | 93 | "view": "explorer", |
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)", |
95 | | - "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)" |
96 | 95 | }, |
97 | 96 | { |
98 | 97 | "view": "ObjectScriptExplorer", |
|
549 | 548 | { |
550 | 549 | "category": "ObjectScript", |
551 | 550 | "command": "vscode-objectscript.export", |
552 | | - "title": "Export Code from Server", |
553 | | - "enablement": "!isWeb" |
| 551 | + "title": "Export Code from Server" |
554 | 552 | }, |
555 | 553 | { |
556 | 554 | "category": "ObjectScript", |
|
668 | 666 | { |
669 | 667 | "category": "ObjectScript", |
670 | 668 | "command": "vscode-objectscript.serverActions", |
671 | | - "title": "Server Actions...", |
672 | | - "enablement": "!isWeb" |
| 669 | + "title": "Server Actions..." |
673 | 670 | }, |
674 | 671 | { |
675 | 672 | "category": "ObjectScript", |
|
706 | 703 | { |
707 | 704 | "category": "ObjectScript", |
708 | 705 | "command": "vscode-objectscript.addServerNamespaceToWorkspace", |
709 | | - "title": "Add Server Namespace to Workspace...", |
710 | | - "enablement": "!isWeb" |
| 706 | + "title": "Add Server Namespace to Workspace..." |
711 | 707 | }, |
712 | 708 | { |
713 | 709 | "category": "ObjectScript", |
714 | 710 | "command": "vscode-objectscript.connectFolderToServerNamespace", |
715 | | - "title": "Connect Folder to Server Namespace...", |
716 | | - "enablement": "!isWeb" |
| 711 | + "title": "Connect Folder to Server Namespace..." |
717 | 712 | }, |
718 | 713 | { |
719 | 714 | "category": "ObjectScript", |
720 | 715 | "command": "vscode-objectscript.hideExplorerForWorkspace", |
721 | | - "title": "Hide Explorer for Workspace", |
722 | | - "enablement": "!isWeb" |
| 716 | + "title": "Hide Explorer for Workspace" |
723 | 717 | }, |
724 | 718 | { |
725 | 719 | "category": "ObjectScript", |
|
745 | 739 | "category": "ObjectScript", |
746 | 740 | "command": "vscode-objectscript.showClassDocumentationPreview", |
747 | 741 | "title": "Show Class Documentation Preview", |
748 | | - "enablement": "!isWeb", |
749 | 742 | "icon": "$(open-preview)" |
750 | 743 | }, |
751 | 744 | { |
752 | 745 | "category": "ObjectScript", |
753 | 746 | "command": "vscode-objectscript.exportCurrentFile", |
754 | | - "title": "Export Current File from Server", |
755 | | - "enablement": "!isWeb" |
| 747 | + "title": "Export Current File from Server" |
756 | 748 | } |
757 | 749 | ], |
758 | 750 | "keybindings": [ |
759 | 751 | { |
760 | 752 | "command": "vscode-objectscript.compile", |
761 | 753 | "key": "Ctrl+F7", |
762 | 754 | "mac": "Cmd+F7", |
763 | | - "when": "!isWeb && editorLangId =~ /^objectscript/" |
| 755 | + "when": "editorLangId =~ /^objectscript/" |
764 | 756 | }, |
765 | 757 | { |
766 | 758 | "command": "vscode-objectscript.compileAll", |
767 | 759 | "key": "Ctrl+Shift+F7", |
768 | 760 | "mac": "Cmd+Shift+F7", |
769 | | - "when": "!isWeb && editorLangId =~ /^objectscript/" |
| 761 | + "when": "editorLangId =~ /^objectscript/" |
770 | 762 | }, |
771 | 763 | { |
772 | 764 | "command": "vscode-objectscript.viewOthers", |
773 | 765 | "key": "Ctrl+Shift+V", |
774 | 766 | "mac": "Cmd+Shift+V", |
775 | | - "when": "!isWeb && editorLangId =~ /^objectscript/" |
| 767 | + "when": "editorLangId =~ /^objectscript/" |
776 | 768 | } |
777 | 769 | ], |
778 | 770 | "configuration": { |
|
1083 | 1075 | { |
1084 | 1076 | "id": "ObjectScriptExplorer", |
1085 | 1077 | "name": "Explorer", |
1086 | | - "when": "!isWeb && workspaceFolderCount != 0 && config.objectscript.showExplorer == true" |
| 1078 | + "when": "workspaceFolderCount != 0 && config.objectscript.showExplorer == true" |
1087 | 1079 | } |
1088 | 1080 | ] |
1089 | 1081 | }, |
|
1113 | 1105 | "label": "ObjectScript Debug", |
1114 | 1106 | "program": "./out/debug/debugAdapter.js", |
1115 | 1107 | "runtime": "node", |
1116 | | - "when": "!isWeb", |
1117 | 1108 | "configurationAttributes": { |
1118 | 1109 | "launch": { |
1119 | 1110 | "required": [], |
|
0 commit comments