how to write same code on different line in vs code code example
Example 1: Multiline editing in Visual Studio Code
Ctrl+Shift+L
Example 2: vs code edit multi line
Windows: Ctrl + Alt + Arrow Keys.
Linux: Shift + Alt + Arrow Keys.
Mac: Opt + Cmd + Arrow Keys.
Example 3: select multiple lines in vs code
Ctrl + Alt + Arrow keys