VS Code is packed with features, but many developers don’t take full advantage of them. In this post, I'll share some hidden tricks that can boost your productivity and streamline your workflow.
1. Multi-Cursor Magic
Ever needed to edit multiple lines at once? Usemulti-cursor mode:
- PressAlt + Click (Windows/Linux) orOption + Click (Mac) to place multiple cursors.
- Or, useCtrl + D (Cmd + D on Mac) to select the next occurrence of a word.
2. Move Lines Up or Down Without Copy-Pasting
Instead of cut-pasting lines, use:
- Alt + Up/Down Arrow (Windows/Linux)
- Option + Up/Down Arrow (Mac)
3. Open the Integrated Terminal Faster
Skip the mouse and open the terminal with:
Ctrl +`
This brings up the built-in terminal instantly.
4. Quick File Switching
Jump between files without touching the mouse:
- Ctrl + P (Cmd + P on Mac) opens the file search.
- Just type part of the filename and hit Enter.
5. Peek and Edit Files Without Opening Them
Need to check a function definition quickly?
- Hover over a function and pressAlt + F12 (Windows/Linux) orOption + F12 (Mac).
- This opens an inline preview without switching tabs.
6. Auto-Fix Errors with One Command
Instead of manually fixing code issues, let VS Code do it for you:
Ctrl +.
This suggests quick fixes based on linting errors.
7. Navigate Between Code Blocks Easily
Jump between methods, functions, or classes using:
- Ctrl + Shift + O (Cmd + Shift + O on Mac)
- Type
@
to list symbols and jump instantly.
8. Zen Mode for Distraction-Free Coding
Want to focus? EnterZen Mode with:
Ctrl + K Z
Press the same keys again to exit.
9. Drag and Drop for Easy Terminal Navigation
Need to type a long file path in the terminal? Justdrag and drop the file into the terminal, and its full path appears automatically.
10. Use Extensions Like a Pro
Some must-have VS Code extensions to boost productivity:
- GitLens – Supercharge Git in VS Code.
- Bracket Pair Colorizer – Easily match brackets.
- TabNine – AI-powered autocompletion.
- Live Server – Instantly preview HTML changes.
Final Thoughts
VS Code is full of hidden gems that can save you time. Try these tricks and let me know which one is your favorite!
Top comments(6)

- Email
- LocationIndia
- EducationComputer Science
- WorkTechnical Writer - open to opportunities
- Joined
I know most of these except for Zen Mode :)

- LocationIndia
- PronounsRam
- WorkSofware Engineering Lead
- Joined
Hi Anmol,
Thanks for sharing your feedback. I will try to add more useful options in this thread.
Regards,
Ram

Are this hidden features?, most of them were easily known. But still good.
And for terminal, there's also ctrl + j.

- LocationIndia
- PronounsRam
- WorkSofware Engineering Lead
- Joined
Hi Himanshu,
Thanks for your feedback. I’m sorry if the title felt misleading to you.
It’s great that you already know these features. I shared them because some people might still find them useful.
I will be adding more such options, it may help you.
Regards,
Ram

- LocationJapan
- Joined
Thank you!📝
I only knew some of the extensions on the list.

- LocationIndia
- PronounsRam
- WorkSofware Engineering Lead
- Joined
it’s hard to know them all, At time it save our time. I hope it’s useful 🙌
For further actions, you may consider blocking this person and/orreporting abuse