Skip to content

Commit 826bc89

Browse files
committed
Fix #9 by checking if side-by-side editor
1 parent 3256d0d commit 826bc89

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -110,12 +110,12 @@
110110
},
111111
{
112112
"command": "resx-editor.openPreview",
113-
"when": "(resourceExtname == '.resx' || resourceExtname == '.resw') && activeCustomEditorId != 'resx-editor.editor'",
113+
"when": "(resourceExtname == '.resx' || resourceExtname == '.resw') && activeCustomEditorId != 'resx-editor.editor' && activeEditor != 'workbench.editor.sidebysideEditor'",
114114
"group": "navigation@1"
115115
},
116116
{
117117
"command": "resx-editor.openInResxEditor",
118-
"when": "(resourceExtname == '.resx' || resourceExtname == '.resw') && activeCustomEditorId != 'resx-editor.editor'",
118+
"when": "(resourceExtname == '.resx' || resourceExtname == '.resw') && activeCustomEditorId != 'resx-editor.editor' && activeEditor != 'workbench.editor.sidebysideEditor'",
119119
"group": "navigation@1"
120120
}
121121
],

0 commit comments

Comments
 (0)