fix #84080 added cntl-shift-c and cntl-shift-v to terminal - #84438
Conversation
|
Will look into this! Thanks for the feedback! |
|
Hi Daniel Imms (@Tyriar) - not sure if I'm doing something wrong. But I assume this is what I'm trying to add. When I load "yarn watch" The loaded visual studio code doesn't seem to reflect any of my changes...is this because I'm using a windows machine and running through command prompt as per "Building and debugging via the Windows subsystem for Linux (WSL) is currently not supported." Sorry to bug you! Thanks for all your help! |
|
James Inkster (@Grommers00) the problem is probably because there is no longer a primary one, try removing |
| if (BrowserFeatures.clipboard.writeText) { | ||
| actionRegistry.registerWorkbenchAction(new SyncActionDescriptor(CopyTerminalSelectionAction, CopyTerminalSelectionAction.ID, CopyTerminalSelectionAction.LABEL, { | ||
| primary: KeyMod.CtrlCmd | KeyCode.KEY_C, | ||
| win: { primary: KeyCode.Ctrl | KeyCode.KEY_C, secondary: [KeyCode.Ctrl | KeyCode.Shift | KeyCode.KEY_C] }, |
There was a problem hiding this comment.
Would this work?
primary: KeyCode.CtrlCmd | KeyCode.Shift | KeyCode.KEY_C,
win: { secondary: KeyCode.Ctrl | KeyCode.KEY_C },
mac: { secondary: KeyCode.Cmd | KeyCode.KEY_C }
There was a problem hiding this comment.
Yes, I think that should work as well.
There was a problem hiding this comment.
I'm not sure that works but if it did we wouldn't want cmd+shift+c to be bound on mac. I think they all need a primary.
Daniel Imms (Tyriar)
left a comment
There was a problem hiding this comment.
Thanks, looks great!
This PR fixes #84080