Welcome to MSDN Blogs Sign in | Join | Help

Sara Ford's WebLog


My adventures embracing open source on CodePlex and at Microsoft

News

Did you know… You can create a keyboard shortcut for adding references to a solution from the Object Browser? - #212

This is really a continuation from yesterday’s tip, but wanted to call it out as a separate tip.  I was kinda surprised to see it in the list of commands, but then again, one can never have too many keyboard shortcuts =)

Add Reference to Solution From Object Browser Keyboard Shortcut

As far as binding this to a keyboard shortcut, I’ll open it up to your suggestions, especially to the keyboard-for-everything users.

To write this tip, I bound it to my pseudo-random keyboard shortcut “Ctrl+Alt+Shift+T”  So as long as some object has selection (meaning it doesn’t have to have focus (blue highlight), but has at least inactive selection (light gray highlight)) in the Objects Pane (the left-most pane), you’ll get the following message box when you press the keyboard shortcut.

Add Reference Success

And if there’s nothing selected (meaning you probably have absolutely nothing in the object browser) and you press the keyboard shortcut, Visual Studio will just stare at you.

Technorati Tags: ,
Posted: Friday, May 09, 2008 10:26 PM by saraford

Comments

Visual Studio Hacks said:

My latest in a series of the weekly, or more often, summary of interesting links I come across related to Visual Studio. Via Steve Pietrek : Heath Stewart explains the usage of the Collect Utility to gather log information for Visual Studio . Greg Duncan

# May 12, 2008 9:51 AM

awykel said:

This never works for me and clues?

# May 15, 2008 11:30 AM
New Comments to this post are disabled
Page view tracker