DEV Community

Cover image for 🕵🏽 Debug VS Code Keyboard Shortcuts
Muhammed Ahmed
Muhammed Ahmed

Posted on

1 1

🕵🏽 Debug VS Code Keyboard Shortcuts

Sharing an article I originally wrote here

Problem

  • Whilst using VS Code my Cmd + N keyboard shortcut stopped creating a new file
  • I was stumped on how to figure out what was causing the issue

Solution

  • Looking around on Stack Overflow people suggested looking at the Keybindings as installed plugins can cause keyboard shortcut conflicts
  • In VS Code go to Preferences > Keyboard Shortcuts
  • Whilst poking around here I discovered a handy little feature of VS Code where you can type a keyboard shortcut and find out what it's mapped to.
  • You just have to click the little keyboard icon (1) VS Code Keyboard Shortcut
  • I typed in Cmd + N and lo and behold it popped up with two entries and I found the source of the conflict and deleted the conflicting one

👋 Hope it helps someone figure out their issues. If you'd like to keep up with technical blog posts on a variety of topics please feel free to join me on upsync.dev 😎

AWS GenAI LIVE image

How is generative AI increasing efficiency?

Join AWS GenAI LIVE! to find out how gen AI is reshaping productivity, streamlining processes, and driving innovation.

Learn more

Top comments (0)

Eliminate Context Switching and Maximize Productivity

Pieces.app

Pieces Copilot is your personalized workflow assistant, working alongside your favorite apps. Ask questions about entire repositories, generate contextualized code, save and reuse useful snippets, and streamline your development process.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay