Skip to content

Commit

Permalink
Fix #9 by checking if side-by-side editor
Browse files Browse the repository at this point in the history
  • Loading branch information
timheuer committed Jul 7, 2023
1 parent 3256d0d commit 826bc89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,12 +110,12 @@
},
{
"command": "resx-editor.openPreview",
"when": "(resourceExtname == '.resx' || resourceExtname == '.resw') && activeCustomEditorId != 'resx-editor.editor'",
"when": "(resourceExtname == '.resx' || resourceExtname == '.resw') && activeCustomEditorId != 'resx-editor.editor' && activeEditor != 'workbench.editor.sidebysideEditor'",
"group": "navigation@1"
},
{
"command": "resx-editor.openInResxEditor",
"when": "(resourceExtname == '.resx' || resourceExtname == '.resw') && activeCustomEditorId != 'resx-editor.editor'",
"when": "(resourceExtname == '.resx' || resourceExtname == '.resw') && activeCustomEditorId != 'resx-editor.editor' && activeEditor != 'workbench.editor.sidebysideEditor'",
"group": "navigation@1"
}
],
Expand Down

0 comments on commit 826bc89

Please sign in to comment.