Skip to content

Commit d43536d

Browse files
committed
Remove isWeb clauses from package.json
1 parent 8b188cf commit d43536d

File tree

1 file changed

+11
-20
lines changed

1 file changed

+11
-20
lines changed

package.json

Lines changed: 11 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,7 @@
9191
"viewsWelcome": [
9292
{
9393
"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)"
9695
},
9796
{
9897
"view": "ObjectScriptExplorer",
@@ -549,8 +548,7 @@
549548
{
550549
"category": "ObjectScript",
551550
"command": "vscode-objectscript.export",
552-
"title": "Export Code from Server",
553-
"enablement": "!isWeb"
551+
"title": "Export Code from Server"
554552
},
555553
{
556554
"category": "ObjectScript",
@@ -668,8 +666,7 @@
668666
{
669667
"category": "ObjectScript",
670668
"command": "vscode-objectscript.serverActions",
671-
"title": "Server Actions...",
672-
"enablement": "!isWeb"
669+
"title": "Server Actions..."
673670
},
674671
{
675672
"category": "ObjectScript",
@@ -706,20 +703,17 @@
706703
{
707704
"category": "ObjectScript",
708705
"command": "vscode-objectscript.addServerNamespaceToWorkspace",
709-
"title": "Add Server Namespace to Workspace...",
710-
"enablement": "!isWeb"
706+
"title": "Add Server Namespace to Workspace..."
711707
},
712708
{
713709
"category": "ObjectScript",
714710
"command": "vscode-objectscript.connectFolderToServerNamespace",
715-
"title": "Connect Folder to Server Namespace...",
716-
"enablement": "!isWeb"
711+
"title": "Connect Folder to Server Namespace..."
717712
},
718713
{
719714
"category": "ObjectScript",
720715
"command": "vscode-objectscript.hideExplorerForWorkspace",
721-
"title": "Hide Explorer for Workspace",
722-
"enablement": "!isWeb"
716+
"title": "Hide Explorer for Workspace"
723717
},
724718
{
725719
"category": "ObjectScript",
@@ -745,34 +739,32 @@
745739
"category": "ObjectScript",
746740
"command": "vscode-objectscript.showClassDocumentationPreview",
747741
"title": "Show Class Documentation Preview",
748-
"enablement": "!isWeb",
749742
"icon": "$(open-preview)"
750743
},
751744
{
752745
"category": "ObjectScript",
753746
"command": "vscode-objectscript.exportCurrentFile",
754-
"title": "Export Current File from Server",
755-
"enablement": "!isWeb"
747+
"title": "Export Current File from Server"
756748
}
757749
],
758750
"keybindings": [
759751
{
760752
"command": "vscode-objectscript.compile",
761753
"key": "Ctrl+F7",
762754
"mac": "Cmd+F7",
763-
"when": "!isWeb && editorLangId =~ /^objectscript/"
755+
"when": "editorLangId =~ /^objectscript/"
764756
},
765757
{
766758
"command": "vscode-objectscript.compileAll",
767759
"key": "Ctrl+Shift+F7",
768760
"mac": "Cmd+Shift+F7",
769-
"when": "!isWeb && editorLangId =~ /^objectscript/"
761+
"when": "editorLangId =~ /^objectscript/"
770762
},
771763
{
772764
"command": "vscode-objectscript.viewOthers",
773765
"key": "Ctrl+Shift+V",
774766
"mac": "Cmd+Shift+V",
775-
"when": "!isWeb && editorLangId =~ /^objectscript/"
767+
"when": "editorLangId =~ /^objectscript/"
776768
}
777769
],
778770
"configuration": {
@@ -1083,7 +1075,7 @@
10831075
{
10841076
"id": "ObjectScriptExplorer",
10851077
"name": "Explorer",
1086-
"when": "!isWeb && workspaceFolderCount != 0 && config.objectscript.showExplorer == true"
1078+
"when": "workspaceFolderCount != 0 && config.objectscript.showExplorer == true"
10871079
}
10881080
]
10891081
},
@@ -1113,7 +1105,6 @@
11131105
"label": "ObjectScript Debug",
11141106
"program": "./out/debug/debugAdapter.js",
11151107
"runtime": "node",
1116-
"when": "!isWeb",
11171108
"configurationAttributes": {
11181109
"launch": {
11191110
"required": [],

0 commit comments

Comments
 (0)