Skip to content

Right-click to Copy selection and Paste on Windows #14202

Closed

Description

@elahn
  • VSCode Version: 1.6.1
  • OS Version: 10.0.14393

In the native terminal, right-click pastes from the clipboard, or right-click on selection copies to clipboard. In the integrated terminal, the context menu is displayed to copy and paste, like in previous versions of Windows.

Please update the integrated terminal to use the native behaviour. This change in behaviour is the single greatest usability enhancement that Microsoft has done to the native terminal, bringing it in line with other OS's.

Activity

  1. added
    feature-request
    terminal
    on Oct 23, 2016
  2. Tyriar commented on Oct 23, 2016

    @Tyriar
    Contributor

    So right clicking on a selection will skip the clipboard and "paste" it into the terminal? You're talking about the recent updates to cmd.exe when you say native terminal right?

  3. added
    info-needed
    on Oct 23, 2016
  4. Tyriar commented on Oct 23, 2016

    @Tyriar
    Contributor

    Related: #8818

  5. elahn commented on Oct 24, 2016

    @elahn
    Author

    Yes, cmd.exe. This is the default behaviour since the release of Windows 10, AFAIK. It applies to all terminals on win10, inc. cmd.exe, Powershell and Bash on Ubuntu on Windows.

    • Right-clicking on a selection copies the selection to the clipboard.
    • Right-clicking (when no selection) pastes from the clipboard into the terminal.
    • Under no circumstances does a context menu appear upon right-click.
  6. Tyriar commented on Oct 24, 2016

    @Tyriar
    Contributor

    Thanks for the clarification. I'm on the fence on this issue, not sure consistency with cmd.exe for this is worth giving up consistency with vscode on the other platforms.

  7. elahn commented on Oct 24, 2016

    @elahn
    Author

    This has been the native terminal behaviour on Linux for as long as I can remember and I think it's the same on OS X.

    While it can be argued that platform-native consistency across apps is more important than a consistent experience across different platforms, I'll focus on the usability aspect of this specific behaviour. I argue that all terminals on every platform should behave this way. If you search the internet, chat with users on different platforms, run polls, I'm certain you'll find overwhelming agreement.

    At the very least, it deserves an option.

    I would really like the convenience of using the built-in terminal, rather than running a separate one (as it saves a cd), but the productivity loss and annoyance factor of extra clicks is not worth it. Until the Windows terminal changed to this behaviour, I would do all of my command-line-centric development on Linux, whereas now I stay in Windows most of the time.

  8. Tyriar commented on Oct 24, 2016

    @Tyriar
    Contributor

    Linux uses middle click globally to paste selection and that works fine in the terminal currently.

    I just looked at cmder which I consider to be the best terminal emulator for Windows and it indeed does implement this so 👍 as an option enabled by default on Windows.

  9. added
    help wanted
    and removed
    info-needed
    on Oct 24, 2016
  10. changed the title [-]Right-click to Copy selection and Paste on Windows 10[/-] [+]Right-click to Copy selection and Paste on Windows[/+] on Oct 24, 2016
  11. added
    windows
    on Oct 24, 2016
  12. added this to the Backlog milestone on Oct 24, 2016
  13. Tyriar commented on Dec 21, 2016

    @Tyriar
    Contributor
  14. added
    verification-needed
    on Dec 21, 2016
  15. locked and limited conversation to collaborators on Nov 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

feature-requesthelp wantedterminalverification-neededverifiedwindows

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions