Quick Access Extension

Quick Access Extension

Rate This
  • Comments 14

With last week’s release of the Productivity Power Tools, we announced a new extension – Quick Access  that allows you to search and execute common tasks within the Visual Studio IDE.  You can launch Quick Access by pressing Ctrl+3, or by selecting View->Quick Access.

Quick Access will allow you to search and execute:

  • Menu Commands (including Editor context menus)
  • Project Templates
  • Options Pages (the tree view)
  • Tool Windows
  • Currently open documents in the Tab Well
  • Tasks – which I’ll get to below
  • It will search any of the above that were added by extensions

Because I get these questions a lot, I’ll mention that Quick Access will NOT search:

  • Code – use the wonderful Solution Navigator extension!
  • Contents of Tool Windows: Quick Access will bring up the Tool Window that you want but it can’t search the contents of that tool window.  Fortunately, some tool windows (e.g., Solution Navigator) implemented their own search.
  • Option Page contents:  Options pages are essentially a blank container for UI.  We don’t have metadata to query or a great way to parse the elements on the page.  We know that this is an important area to address but it will most likely require architectural changes to VS.
  • Item Templates:  Item templates are much trickier to search than project templates due to the filtering rules that the Add New Item dialog uses.  The dialog’s filtering APIs aren’t exposed so unless we did a lot of work to build our own filtering, it would be easy to add a C++ file to a C# project – not something that we want to do.
  • Online sites

Of course, that’s not saying we will never support searching those items above, just that it will be very difficult with the current extensibility APIs in VS 2010.

With Quick Access, our goal was to target two customer scenarios:

  1. Discoverability: I don’t know where a particular command, option, etc. is located.

    For example, maybe you can’t remember where the bookmark window is located.  Press Ctrl+3, type “bookmark” and Quick Access will send back any command where the search string matches.

     image
  2. Shortcutting: I want to perform a task in VS more efficiently.  In this scenario, you don’t really care where a particular command, option, etc. is located, you just want to invoke it with a few keystrokes (this assumes you didn’t know the keyboard shortcut for a particular command). 

    For example, I want to view the Project Properties for my application.  I type in “prop” and press Enter (if it’s not in your Most Recently Used (MRU) bucket you may have to hit Down a few times, but once you activate it once it will appear in your MRU).  Sure you can always double-click the Properties icon in Solution Explorer, but then you have to take your hands off the keyboard :)

    image 

Tasks

You can look at tasks as “scripts” or “light-weight macros”.  Through tasks, Quick Access provides you with the ability to interact with VS in a way that isn’t normally exposed through menu commands.  An example would be the task “Turn line numbers on”.  Normally, you would have to change this option in the Tools –> Options dialog.  With Quick Access, we could implement this task by executing a sequence of VS commands or even interact with the DTE.

The current version of Quick Access ships with several tasks.  To see the available tasks, search for “tasks”:

image

In the next release, we are planning to add support for you to author your own tasks.  We will also implement the most commonly requested tasks into the package, so tell us what you’d like to see.

Some Other Stuff You May Be Interested In…

Quick Access uses a model similar to the Windows Start Menu to only show a subset of the matching items when the list fills more than the tool window real-estate.  That way, if you type “debug” and really want the Visual Studio Options result, you don’t have to scroll down through 14 menu items.  If you want to see all the results, press Ctrl+3 again to show everything.  Continue pressing Ctrl+3 to filter on each category.

image image

 

Let Us Know What You Think

As with all of the Productivity Power Tools features, we want to know what you think.  What do you like?  What can we make better?

We are also really interested in how you use or would like to use Quick Access.  Is it to find a specific options page or something more involved such as executing tasks/macros?

Click the smiley face in the bottom right of the Quick Access window to send us mail.

Thanks,

Weston Hutchins
Program Manager – IDE Platform

Leave a Comment
  • Please add 2 and 1 and type the answer here:
  • Post
  • In a word, 'brilliant'.   Looking forwards to the ability to author tasks.

  • Thanks a lot <a href="www.google.com">google</a>

  • This is awesome, I'm using it frequently.  It's like Launchy for Visual Studio.

  • There's a similar feature for symbols and filenames added in Visual Studio 2010 (ie., no extension needed). Many people don't seem to know about it -- if you don't, try it out, it's awesome and works for VB, C#, and C++.

    Ctrl-,  (Control comma) brings it up, and it has typeahead.

    Details here: msdn.microsoft.com/.../4sadchd3.aspx

    Dan

  • Redmond start your photocopiers :)

    blogs.embarcadero.com/.../rad-studio-2010-ide-insight-part-1

  • Looks the same as Delphi 2010 IDE Insight: blogs.embarcadero.com/.../39261

  • Glad to see it in VS2010

    I have been using same feature in Delphi 2010 since last year, but in Delphi you also select component in ToolBox, which isn't available "Quick Access".

  • Who cares who had it first?  Any decent product learns from its competitors.  NetCaptor was the first browser to offer tabbed browsing, and nobody seems to mind that Opera, Firefox, IE and Safari 'photocopied' it.

    Anyway, I think this is a really nice addition to Visual Studio.  Given that context menus just seem to keep getting bigger in VS, I would love to see this this functionality available as a search box on the context menus itself.  (How many times have you right clicked something and kept looking for an option you knew the name of but forgot the position of?(

  • What's about a way to search the Options-Settings of Visual Studio. I'am thinking of way to type "tab" for example and getting a list of all the Options that contain the Word "Tab" in there Description (like in Ultra Edit & UEStudio).

  • Forget the last Article - your QuickAccess does this Job alreay. Perfect !

  • Can we adjust the short cut Ctrl+3 ?

  • @Alan:  Yes!  Start by going to Tools->Options->Environment->Keyboard and finding View.QuickAccess in the command list (either by scrolling or searching).  You can then remove the Ctrl+3 shortcut and replace it with any other keybinding you like.

    Brittany Behrens

    Program Manager, Visual Studio Pro

  • ReSharper kidnaps the Ctrl+3 key binding and this did not work for me. I decided to bind Ctrl+Alt+3 instead. Now very happy!

  • sadly this breaks the xaml designer for me, so i had to deactivate it, as it somehow always makes a control selected in the toolbox, so everytime i click around in the designer it creates a new control there :/

    usually when you select a control in the toolbox, and then click in the designer, it will be created once, and the control in the toolbox will be deselected, making the next click in the designer a normal click, but with "Quick Access" activated it reselects the last created control in the toolbox, forcing you to continually create controls D;

Page 1 of 1 (14 items)