Select to End/Beginning of Line in Visual Studio Code

Strange it should work out of the box. If not, go to File > Preferences > Keyboard Shortcuts and look for cursorEndSelect.

{"key": "shift+end", "command": "cursorEndSelect", "when": "editorTextFocus"}

It now appears to be ⌘ Command + ⇧ Shift + ↓ Down Arrow

(MacOS Big Sur 11.6)


I use following inbuilt shortcut (VSCode 1.39.2, MacOS 10.15)

 

⌘ Command + ⇧ Shift + → Right Arrow key combination

 

 


You can access keyboard shortcut reference here: https://code.visualstudio.com/shortcuts/keyboard-shortcuts-macos.pdf

You can visit this link anytime from VS Code by navigating to

Help > Keyboard Shortcuts Reference

enter image description here