move line up and down vs code code example
Example 1: move lines in vscode
Alt + Up // Move Up
Alt + Down // Move Down
Example 2: move lines of code in vscode
select lines of code to move
ctrl + ] moves right
ctrl + [ moves left
Alt + Up // Move Up
Alt + Down // Move Down
select lines of code to move
ctrl + ] moves right
ctrl + [ moves left