Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
elahn opened this issue Oct 22, 2016 · 7 comments
Closed

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

elahn opened this issue Oct 22, 2016 · 7 comments
Assignees
Labels
feature-request Request for new features or functionality help wanted Issues identified as good community contribution opportunities terminal Integrated terminal issues verification-needed Verification of issue is requested verified Verification succeeded windows VS Code on Windows issues
Milestone

Comments

@elahn
Copy link

elahn commented Oct 22, 2016

  • 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.

@roblourens roblourens added feature-request Request for new features or functionality terminal Integrated terminal issues labels Oct 23, 2016
@Tyriar
Copy link
Member

Tyriar commented Oct 23, 2016

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?

@Tyriar Tyriar added the info-needed Issue requires more information from poster label Oct 23, 2016
@Tyriar
Copy link
Member

Tyriar commented Oct 23, 2016

Related: #8818

@elahn
Copy link
Author

elahn commented Oct 24, 2016

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.

@Tyriar
Copy link
Member

Tyriar commented Oct 24, 2016

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.

@elahn
Copy link
Author

elahn commented Oct 24, 2016

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.

@Tyriar
Copy link
Member

Tyriar commented Oct 24, 2016

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.

@Tyriar Tyriar added help wanted Issues identified as good community contribution opportunities and removed info-needed Issue requires more information from poster labels Oct 24, 2016
@Tyriar Tyriar changed the title Right-click to Copy selection and Paste on Windows 10 Right-click to Copy selection and Paste on Windows Oct 24, 2016
@Tyriar Tyriar added the windows VS Code on Windows issues label Oct 24, 2016
@Tyriar Tyriar added this to the Backlog milestone Oct 24, 2016
@Tyriar
Copy link
Member

Tyriar commented Dec 21, 2016

Fixed in #17496 thanks to @hun1ahpu!

@Tyriar Tyriar closed this as completed Dec 21, 2016
@Tyriar Tyriar modified the milestones: January 2017, Backlog Dec 21, 2016
@Tyriar Tyriar added the verification-needed Verification of issue is requested label Dec 21, 2016
@ramya-rao-a ramya-rao-a added the verified Verification succeeded label Jan 25, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature-request Request for new features or functionality help wanted Issues identified as good community contribution opportunities terminal Integrated terminal issues verification-needed Verification of issue is requested verified Verification succeeded windows VS Code on Windows issues
Projects
None yet
Development

No branches or pull requests

4 participants