Did you know… the Solution Explorer supports type-ahead selection? – #152


I’ve been coming up with little songs to keep sane as I post a daily tip for Visual Studio.  Beth Massi swears she’ll catch me on tape singing these one day.  One of them is to the tune of Dunkin’ Donuts (i think it’s their jingle) of "gotta make the donuts" which is "gotta do tip of the day"  Another one I’m trying to perfect is to Phil Collins’s "come dance into the Light" with "It’s the simple things in life!"  Sad, but true. 

Today’s tip is really cool.  I didn’t know this one until a coworker showed me, and this was after 5 years working on the Visual Studio team.

the Solution Explorer supports type-ahead selection, so wherever your current focus + selection is in the tree view, just start typing the full name of your file, and the focus + selection will jump to that match, partial or full.

solution explorer supports type-ahead selection

Technorati Tags: VS2005Tip,VS2008Tip

Comments (17)

  1. vikram says:

    Wow, This was really refereshing to know. You are doing a very good job innposting these. Keep the good work going……

  2. You’ve been kicked (a good thing) – Trackback from DotNetKicks.com

  3. Sing this one:

    (To the tune of "The Farmer in the Dell")

    Sara is the Best! Sara is the Best!

    Our Hats are off to Microsoft, Sara is the Best!

  4. gerrod says:

    Hi Sara – have you tried ReSharper? With it installed, you can go to any class in your solution using Ctrl+N (or any file with Ctrl+Shift+N). And it supports partial matches as well as wildcards – so to go to class 4 you could just type "C4".

    My 2c!

  5. Jordan says:

    Unfortunately, it doesn’t search into collapsed Solution/Project folders.  Maybe you could suggest that…

    Thanks – Jordan

  6. been using this for a long time, doesn’t this feature work for most trees in Windows?

    note 1: you have to type a little bit fast

    note 2: hitting the same key multiple times, say "C", will take you through all the files that begin with "C"

  7. It seems the trick is working only on expanded nodes: the type-ahead selection doesn’t target the collapsed source file nodes (maybe "by design"?).

  8. Here is the latest in my link-listing series .  Also check out my ASP.NET Tips, Tricks and Tutorials

  9. Here is the latest in my link-listing series .  Also check out my ASP.NET Tips, Tricks and Tutorials

  10. +1 on ReSharper!

    And with the <a href="http://stevenharman.net/blog/archive/2008/02/15/resharper-4.0-eap-nightly-builds-are-now-available.aspx">upcoming 4.0 release</a> you can now use CamelHumps in all of the code completion, IntelliSense, and navigational shortcuts in ReSharper. Hott!

  11. 【原文地址】 Feb 17th Links: ASP.NET, ASP.NET AJAX, Visual Studio, .NET 【原文发表日期】 Sunday, February 17, 2008

  12. Colegamenti del 17 Febbraio: ASP.NET, ASP.NET AJAX, Visual Studio, .NET

  13. Luke Terheyden says:

    Also, Ctrl-Alt-L will show / focus Solution Explorer (with the general developer keyboard layout).

  14. Here is the latest in my link-listing series .&#160; Also check out my ASP.NET Tips, Tricks and Tutorials

  15. Igor says:

    Yeap, the same behavior exist in SQL Server as well.