Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

How do I copy output from a command in a Terminal window of VSCode so I can paste it elsewhere?

I am using VS Code to develop a Laravel project in Windows 10. I’ve opened a Terminal window and executed a command to create a new Laravel project. The output from the command identifies a number of errors. I want to copy the output from the command into a Stack Overflow post but when I try to copy from the Terminal output by dragging the cursor over the 30 or 40 lines of output, nothing gets copied into my buffer. What do I need to do to copy the output of the command of the terminal window so that I can paste it elsewhere?

>Solution :

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

Drag over the text you wish to copy in the Terminal tab, then hit Ctrl+Shift+C (or Ctrl+C if on Windows). Then, you can paste it with Ctrl+V normally.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading