Skip to content

Test: Integrated terminal copy and paste #9100

@Tyriar

Description

@Tyriar

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions