Open traeok opened 1 month ago
Thank you for creating a bug report. We will investigate the bug and evaluate its impact on the product. If you haven't already, please ensure you have provided steps to reproduce the bug and as much context as possible.
I've tried to add && sidebarFocus
to the "when" clause and it seems to break the Ctrl+C and Ctrl+V shortcuts so that they don't work even when one of the tree views is focused.
This seems like it may be a VS Code bug, where focusedView
should be reset after the side bar is toggled but isn't:
Edit: Thanks @traeok for confirming that sidebarFocus
doesn't work, which confirms this is a VS Code bug.
Describe the bug
If a user tries to use the copy/paste key binds in an editor while the Side Bar is open and the data sets tree is focused, Zowe Explorer will catch the key binds instead and will break copy/pasting in editors as a result.
There are a couple workarounds:
To Reproduce
Expected behavior
The copy/paste key binds should not interfere with editor actions. They should only work while the sidebar is focused.
Screenshots
Desktop (please complete the following information):
Additional context
In theory, this can be fixed by adding
&& sidebarFocus
to thewhen
clause for both thezowe.ds.copyDataSets
andzowe.ds.pasteDataSets
commands inpackage.json
.