-
Notifications
You must be signed in to change notification settings - Fork 38.4k
Closed
Labels
Milestone
Description
Test plan for #6451
Operating Systems
What to Test
The integrated terminal now has a set of keybindings in keybindings.json to copy inside the terminal and also paste into the terminal. Here are the defaults at the time of writing for Linux/Windows:
{ "key": "ctrl+shift+c", "command": "workbench.action.terminal.copySelection",
"when": "terminalFocus" },
{ "key": "ctrl+shift+v", "command": "workbench.action.terminal.paste",
"when": "terminalFocus" },Notice the new when clause for terminal focus, the inverse is used on the same keybindings outside of the terminal so these should be tested too:
{ "key": "ctrl+shift+c", "command": "workbench.action.terminal.openNativeConsole",
"when": "!terminalFocus" },
{ "key": "ctrl+shift+v", "command": "markdown.showPreview",
"when": "!terminalFocus" },Copy should work only when the terminal has focus, paste should work anywhere. The feature should be completely disabled on Mac since cmd+c and cmd+v work there.
Limitations
- Some custom keybindings will simply not work because the terminal eats them before VS Code gets a chance to respond, this is being explored in [terminal] (⌘K) was pressed. Waiting for second key of chord... #7240.
- A warning will be displayed when trying to copy via the command palette since focus is dropped when the command palette is opened.
Reactions are currently unavailable