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