Skip to content

Commit 7dfa84f

Browse files
committed
Better fix for #9
1 parent 826bc89 commit 7dfa84f

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' && activeEditor != 'workbench.editor.sidebysideEditor'",
113+
"when": "(resourceExtname == '.resx' || resourceExtname == '.resw') && activeEditor == 'workbench.editors.files.textFileEditor'",
114114
"group": "navigation@1"
115115
},
116116
{
117117
"command": "resx-editor.openInResxEditor",
118-
"when": "(resourceExtname == '.resx' || resourceExtname == '.resw') && activeCustomEditorId != 'resx-editor.editor' && activeEditor != 'workbench.editor.sidebysideEditor'",
118+
"when": "(resourceExtname == '.resx' || resourceExtname == '.resw') && activeEditor == 'workbench.editors.files.textFileEditor'",
119119
"group": "navigation@1"
120120
}
121121
],

0 commit comments

Comments
 (0)