Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio Code - Terminal (PowerShell) - how to copy text

How do you copy text in the terminal?

(I have tried Ctrl + C, but that produces ^c in the terminal. Right clicking seems to paste whatever is in my clipboard.)

"terminal.integrated.rightClickCopyPaste": true - override this to false

like image 286
atreeon Avatar asked Nov 12 '17 09:11

atreeon


People also ask

How do I copy text in VS Code?

In addition to ctrl + shift + v you can use ctrl + shift + c to Merge-Copy. And ctrl + shift + x to Merge-Cut. Select clipboard to paste ( ctrl + alt + v ). Paste and cycle through clipboard items ( ctrl + shift + v ).

How do you copy a line of code in terminal?

Press arrow up to get the line of code that you want. Then press CTRL+A to select it and CTRL+C to copy it into clipboard. Paste it with CTRL+V.

How do I enable copy and paste in Visual Studio?

To enable copying, set the Enable Copy Paste property of the Editor node in DSL Explorer.


1 Answers

To Copy a message in PowerShell visual studio just select the message and right click it, it will be copied automatically.

like image 117
joe abou nakkoul Avatar answered Sep 18 '22 10:09

joe abou nakkoul