Is there a way to copy all the text from the integrated Visual Studio Code terminal? I have some output that I want to copy to a text file and save it.
If right-click in the terminal is configured to paste, hold Shift while right-clicking to bring up the contextual menu and choose Select All and Copy.
I can just right-click in the terminal and chose Select All
and then right-click and Copy
. Does that not work for you?
There is an unbound command for the selection:
workbench.action.terminal.selectAll
and Ctrl+C for the copy.
If you do this a lot you could make a macro to do the whole thing: select, copy, open a new text file and paste.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With