In VS Code, you can highlight some code and hold down the ⌥ option key and press up or down. This is one of the simplest and most powerful techniques I’ve learnt in a long time. Wow.