DEV Community

Discussion on: My 5 key takeaways from reading the Pragmatic Programmer

Collapse
 
emma profile image
Emma Goto 🍙

Thanks! I use VSCode - maybe I'll do another post about the shortcuts :)

Collapse
 
patryktech profile image
Patryk

Well, ctrl-shift-{left|right} works to select a word at a time. Shift-{up|down} selects a line. Ctrl-shift-{up|down} enables multi-line editing. Useful if you want to replace a variable name on multiple consecutive lines.

I'm a big fan of Alt-{up|down} ... It moves the current line (or selection) up or down the file. Re-order your file without copy/pasting.