Monday, October 24, 2011

Removing The F5 Shortcut Key In Visual Studio

Ever hit the F5 key in Visual Studio, launching the slow debug mode, when you thought you already switched to the web browser?

Yes, I thought so.

This is confusing!

But - no more!

You just need to remove the shortcut key mapping to F5 in Visual Studio. Here's how:

  1. Go to Tools->Options->Environment and choose Keyboard.
  2. Write Debug.Start in the "Show commands containing:" text field.
  3. Press Remove and then OK.
  4. Done!
Here's the visual on how to do it:

No more freak F5 mapping in Visual Studio :-)

1 comment :

  1. Thank you. This worked in 2020 in Visual Studio Professional 2019.