How to edit multiple line in Visual Studio Code

Article Mohit Mozumder


Solution:

To edit multiple lines in VS code-

Windows: Ctrl + Alt + Arrow Keys 
Linux: Shift + Alt + Arrow Keys.
Mac: Opt + Cmd + Arrow Keys.

In windows & linux you can just use  alt+ click  for additional cursors.

Box Selecting-

macOS:  shift+ option+ click
Windows & linux: shift+ alt+ mouse left button 

or-

you can simply select a word then press ctrl+F you will see a search box opened and all

the similar words are selected. then you have to press alt+enter to edit all of them at the same time.

Thank you for reading the article. If you face any problem feel free to contact with us.