visual studio code select line shortcut code example Example: vscode command to select a whole line windows: Ctrl + L MacOS: Command + L