How to select multiple lines in VS code

In this article, you will learn about how to select multiple lines in VS code. Visual Studio Code is a powerful source code editor which…

The post How to select multiple lines in VS code appeared first on CodeSource.io.


This content originally appeared on CodeSource.io and was authored by Deven

In this article, you will learn about how to select multiple lines in VS code.

Visual Studio Code is a powerful source code editor which is developed by Microsoft. It is a cross-platform desktop app that can be run on Windows, Mac or, Linux. VS code comes with lots of functionalities that let you write your source code easier way. Select multiple lines in VS Code is one of them.

In VS Code you can select multiple lines once at a time. Suppose you have done the same mistakes in your code 5 times in 5 multiple lines. In VS Code you can easily select multiple lines and solve them at a single time. Let me show how you can select multiple lines in vs code for desktop, mac, and Linux.

  • For Desktop : Ctrl + Alt + Arrow Keys (Up/Down)
  • For Mac : Opt + Cmd + Arrow Keys (Up/Down)
  • For Linux: Shift + Alt + Arrow Keys (Up/Down)

By using the above command you simply select multiple lines and you can make changes at once for these lines.

This is all about selecting multiple lines in Vs Code and you can get an overview from it.

The post How to select multiple lines in VS code appeared first on CodeSource.io.


This content originally appeared on CodeSource.io and was authored by Deven


Print Share Comment Cite Upload Translate Updates
APA

Deven | Sciencx (2021-10-27T13:26:06+00:00) How to select multiple lines in VS code. Retrieved from https://www.scien.cx/2021/10/27/how-to-select-multiple-lines-in-vs-code/

MLA
" » How to select multiple lines in VS code." Deven | Sciencx - Wednesday October 27, 2021, https://www.scien.cx/2021/10/27/how-to-select-multiple-lines-in-vs-code/
HARVARD
Deven | Sciencx Wednesday October 27, 2021 » How to select multiple lines in VS code., viewed ,<https://www.scien.cx/2021/10/27/how-to-select-multiple-lines-in-vs-code/>
VANCOUVER
Deven | Sciencx - » How to select multiple lines in VS code. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/10/27/how-to-select-multiple-lines-in-vs-code/
CHICAGO
" » How to select multiple lines in VS code." Deven | Sciencx - Accessed . https://www.scien.cx/2021/10/27/how-to-select-multiple-lines-in-vs-code/
IEEE
" » How to select multiple lines in VS code." Deven | Sciencx [Online]. Available: https://www.scien.cx/2021/10/27/how-to-select-multiple-lines-in-vs-code/. [Accessed: ]
rf:citation
» How to select multiple lines in VS code | Deven | Sciencx | https://www.scien.cx/2021/10/27/how-to-select-multiple-lines-in-vs-code/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.