Freigeben über


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: VS2005Tip,VS2008Tip

Comments

  • Anonymous
    May 12, 2008
    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

  • Anonymous
    May 15, 2008
    This never works for me and clues?

  • Anonymous
    January 05, 2009
    本篇包括tip211-tip220http://www.watch-life.net/visual-studio/visual-studio-2008-tip-day-22.html#211、在对...