You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Right-click to Copy selection and Paste on Windows #14202
feature-requestRequest for new features or functionalityhelp wantedIssues identified as good community contribution opportunitiesterminalGeneral terminal issues that don't fall under another labelverification-neededVerification of issue is requestedverifiedVerification succeededwindowsVS Code on Windows issues
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.
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?
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.
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.
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.
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.
feature-requestRequest for new features or functionalityhelp wantedIssues identified as good community contribution opportunitiesterminalGeneral terminal issues that don't fall under another labelverification-neededVerification of issue is requestedverifiedVerification succeededwindowsVS Code on Windows issues
Activity
Tyriar commentedon 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 commentedon Oct 23, 2016
Related: #8818
elahn commentedon 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.
Tyriar commentedon 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 commentedon 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 commentedon 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.
[-]Right-click to Copy selection and Paste on Windows 10[/-][+]Right-click to Copy selection and Paste on Windows[/+]Tyriar commentedon Dec 21, 2016
Fixed in #17496 thanks to Anton Vildyaev (@hun1ahpu)!