Movatterモバイル変換


[0]ホーム

URL:


Skip to content
DEV Community
Log in Create account

DEV Community

Ramkumar M N
Ramkumar M N

Posted on

     

VS Code Hidden Features 🎉

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 +`
Enter fullscreen modeExit fullscreen mode

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 +.
Enter fullscreen modeExit fullscreen mode

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
Enter fullscreen modeExit fullscreen mode

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)

Subscribe
pic
Create template

Templates let you quickly answer FAQs or store snippets for re-use.

Dismiss
CollapseExpand
 
anmolbaranwal profile image
Anmol Baranwal
Technical writer (1M+ reads) • Open Source developer (200+ PRs) Everything about me at "https://anmolbaranwal.com"Email for collab
  • Email
  • Location
    India
  • Education
    Computer Science
  • Work
    Technical Writer - open to opportunities
  • Joined

I know most of these except for Zen Mode :)

CollapseExpand
 
ramkumar-m-n profile image
Ramkumar M N
12 Years Experience in Software Development | 4x AWS Certified | 1x Azure Certified | Multi-Cloud Expert | DevOps & Full Stack Developer | AI ML | Healthcare
  • Location
    India
  • Pronouns
    Ram
  • Work
    Sofware Engineering Lead
  • Joined

Hi Anmol,
Thanks for sharing your feedback. I will try to add more useful options in this thread.

Regards,
Ram

CollapseExpand
 
himanshu_code profile image
Himanshu Sorathiya
Seeker
  • Joined

Are this hidden features?, most of them were easily known. But still good.

And for terminal, there's also ctrl + j.

CollapseExpand
 
ramkumar-m-n profile image
Ramkumar M N
12 Years Experience in Software Development | 4x AWS Certified | 1x Azure Certified | Multi-Cloud Expert | DevOps & Full Stack Developer | AI ML | Healthcare
  • Location
    India
  • Pronouns
    Ram
  • Work
    Sofware 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

CollapseExpand
 
webdeveloperhyper profile image
Web Developer Hyper
"Having fun with IT technology" is my No.1 priority.🥳🎉Let's enjoy and grow at the same time.🤝#MCP #Cline #Cursor #AI #AWS #React #WebDev #FullStackDeveloper
  • Location
    Japan
  • Joined

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

CollapseExpand
 
ramkumar-m-n profile image
Ramkumar M N
12 Years Experience in Software Development | 4x AWS Certified | 1x Azure Certified | Multi-Cloud Expert | DevOps & Full Stack Developer | AI ML | Healthcare
  • Location
    India
  • Pronouns
    Ram
  • Work
    Sofware Engineering Lead
  • Joined

it’s hard to know them all, At time it save our time. I hope it’s useful 🙌

Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment'spermalink.

For further actions, you may consider blocking this person and/orreporting abuse

12 Years Experience in Software Development | 4x AWS Certified | 1x Azure Certified | Multi-Cloud Expert | DevOps & Full Stack Developer | AI ML | Healthcare
  • Location
    India
  • Pronouns
    Ram
  • Work
    Sofware Engineering Lead
  • Joined

More fromRamkumar M N

DEV Community

We're a place where coders share, stay up-to-date and grow their careers.

Log in Create account

[8]ページ先頭

©2009-2025 Movatter.jp