Visual Studio .NET 2003 and 2005 Keyboard Shortcuts

I’ve been trying to improve my use of keyboard shortcuts in Visual Studio .NET. Here are the ones I use most often, what I consider my “core” keyboard shortcuts:

Go to declaration

F12

Debug: step over

F10

Debug: run to cursor

ctrl + F10

Debug: step into

F11

Debug: step out

shift + F11

Toggle a breakpoint

F9

Go to next item in task list or search results

F8

Go to previous item in task list or search results

shift + F8

Switch to code view

F7

Switch to designer view

shift + F7

Run with debugging

F5

Stop debugging

shift + F5

Run without debugging

ctrl + F5

Move to previous edit point (back)

ctrl + -

Switch to the Task List

ctrl + alt + K

Switch to the Immediate window

ctrl + alt + I

Switch to the Output window

ctrl + alt + O

Find

ctrl + F

Find in all files

ctrl + shift + F

Replace

ctrl + H

Incremental find (it’s pure sex!)

ctrl + I

I’m still struggling to find a keyboard shortcut that sets the input focus back to the code window after doing a ctrl+alt+O or ctrl+alt+K. As it turns out, that key is

Esc

But enough about me. Which keyboard shortcuts do you use most often?

The best early reference for keyboard shortcuts in VS.NET 2003 was Mastering Visual Studio .NET; Appendix C contains an excellent reference table of all the keyboard shortcuts in .NET.

As good as that reference table is, you can generate a better keyboard reference yourself using my improved keyboard shortcut enumerator macro.*

It groups the results by scope and sorts by primary keyboard key so related key accelerators are all displayed together (e.g., F5, ctrl+F5, shift+F5, etc).

The macro works in VS.NET 2003 and VS 2005, and unless you are a total Visual Studio Ninjatm I guarantee you’ll find at least a few keyboard shortcuts in there that you didn’t know about. I also did a diff on the resulting files to see what keyboard shortcuts have changed in Visual Studio 2005:

*Originally based on an earlier macro I discovered.

Related posts

I Fight For The Users

I Fight For The Users

If you haven’t been able to keep up with my blistering pace of one blog post per year, I don’t blame you. There’s a lot going on right now. It’s a busy time. But let’s pause and take a moment to celebrate that Elon Musk

By Jeff Atwood ·
Comments
Updating The Single Most Influential Book of the BASIC Era

Updating The Single Most Influential Book of the BASIC Era

In a way, these two books are responsible for my entire professional career. With early computers, you didn’t boot up to a fancy schmancy desktop, or a screen full of apps you could easily poke and prod with your finger. No, those computers booted up to the command line.

By Jeff Atwood ·
Comments
To Serve Man, with Software

To Serve Man, with Software

I didn’t choose to be a programmer. Somehow, it seemed, the computers chose me. For a long time, that was fine, that was enough; that was all I needed. But along the way I never felt that being a programmer was this unambiguously great-for-everyone career field with zero downsides.

By Jeff Atwood ·
Comments
The Raspberry Pi Has Revolutionized Emulation

The Raspberry Pi Has Revolutionized Emulation

very geek goes through a phase where they discover emulation. It’s practically a rite of passage. I think I spent most of my childhood – and a large part of my life as a young adult – desperately wishing I was in a video game arcade. When I finally obtained my

By Jeff Atwood ·
Comments

Recent Posts

Stay Gold, America

Stay Gold, America

We are at an unprecedented point in American history, and I'm concerned we may lose sight of the American Dream.

By Jeff Atwood ·
Comments
The Great Filter Comes For Us All

The Great Filter Comes For Us All

With a 13 billion year head start on evolution, why haven’t any other forms of life in the universe contacted us by now? (Arrival is a fantastic movie. Watch it, but don’t stop there – read the Story of Your Life novella it was based on for so much

By Jeff Atwood ·
Comments
I Fight For The Users

I Fight For The Users

If you haven’t been able to keep up with my blistering pace of one blog post per year, I don’t blame you. There’s a lot going on right now. It’s a busy time. But let’s pause and take a moment to celebrate that Elon Musk

By Jeff Atwood ·
Comments
The 2030 Self-Driving Car Bet

The 2030 Self-Driving Car Bet

It’s my honor to announce that John Carmack and I have initiated a friendly bet of $10,000* to the 501(c)(3) charity of the winner’s choice: By January 1st, 2030, completely autonomous self-driving cars meeting SAE J3016 level 5 will be commercially available for passenger use

By Jeff Atwood ·
Comments