Skip to content

Commit b5b20f9

Browse files
author
Keshav Iyer
committed
Allow "View other" to be used for custom Studio documents
Those may not have langId = objectscript (e.g. could be XML)
1 parent b4d011f commit b5b20f9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@
113113
},
114114
{
115115
"command": "vscode-objectscript.viewOthers",
116-
"when": "editorLangId =~ /^objectscript/ && vscode-objectscript.connectActive"
116+
"when": "vscode-objectscript.connectActive"
117117
},
118118
{
119119
"command": "vscode-objectscript.subclass",
@@ -274,7 +274,7 @@
274274
"editor/context": [
275275
{
276276
"command": "vscode-objectscript.viewOthers",
277-
"when": "editorLangId =~ /^objectscript/ && vscode-objectscript.connectActive",
277+
"when": "vscode-objectscript.connectActive",
278278
"group": "objectscript@1"
279279
},
280280
{
@@ -319,7 +319,7 @@
319319
{
320320
"command": "vscode-objectscript.touchBar.viewOthers",
321321
"group": "objectscript.viewOthers",
322-
"when": "editorLangId =~ /^objectscript/ && vscode-objectscript.connectActive"
322+
"when": "vscode-objectscript.connectActive"
323323
}
324324
],
325325
"explorer/context": [

0 commit comments

Comments
 (0)