I quite like how you can do a regex find/replace, for example.
Feel free to share below the ones you find the most helpful, and also to point me towards some resources (I found the subreddit quite useless).
1. Select the lines you want to do this with.
2. Press `Shift-Opt-i` on macOS and probably something like Shift-Alt-i on Windows/Linux.
Column Select:
1. Place curso where you want.
2. Hold Shift+Option and mouse down.
This and more covered here: https://code.visualstudio.com/docs/editor/codebasics
As a second tip I cannot recommend Remote Development [2] enough.
And while I'm at it -- on a laptop with a crappy trackpad, multiple cursor support can be infuriatingly annoying. I can't seem to disable this "feature".
[1] https://marketplace.visualstudio.com/items?itemName=lfs.vsco...
[2] https://code.visualstudio.com/docs/remote/remote-overview
- Ctrl + l - copy line down
- alt + up/down arrow - shift line above or below
- multi-cursor functionality
- Distraction-free mode
These in particular are most used and loved by me
Ctrl+g: Jump to line X
Are two of my favorites that came to mind
Saves ton of time when you’re coding in the flow and don’t have to stumble on unpolished and rough edges every second.
cmd + b to toggle it open and closed
cmd + [any number] focuses split panes (and opens one if it doesn't exist yet)
control + [any number] to focus different files open in the existing pane