Skip to main content

How to vertically select in Visual Studio Code

· One min read

Sometimes I need to vertically select some lines of code, to say, insert something in front of all of them.

But how do you vertically select with the cursor in Visual Studio Code?

On MacOS: Shift + Alt/Option + Command + 'arrow key'

You can read more detail on it on StackOverflow.