← Useful Tips
Shift + Alt + ↑ / ↓: Duplicate a line of code
Use Shift + Alt + ↑ / ↓ to duplicate a line of code. It keeps your hands on the keyboard while navigating large codebases.
Shift + Alt + ↑ / ↓
Why it helps
Use Shift + Alt + ↑ / ↓ to duplicate a line of code. It keeps your hands on the keyboard while navigating large codebases.
How to use it
- Open the relevant app or terminal.
- Use the shortcut or command above in the relevant context.
- Check the result; for commands that change data, test on a small example first.
People also search for
Shift + Alt + ↑ / ↓: Duplicate a line of codeShift + Alt + ↑ / ↓duplicate a line of codehow to duplicate a line of codeVS Code duplicate a line of code