re: VS Code Shortcuts That I Would Teach Myself if I Had a Time Machine With Limited Fuel VIEW POST


My favorites:

  • Ctrl+L. Highlight the current line. Press it N times to highlight the next N lines.
  • Alt+Up/Down. Move an entire line of code (or the current selection) up/down. No more cutting/pasting.

The move line up/down is like my #1 used hotkey.

The other one I use a lot that's similar is SHIFT+ALT+up/down for duplicating the current line above or below.

Code of Conduct Report abuse