shift line up in vscode 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