Visual Studio 2008: Track Active Item in Solution Explorer


If you’re working on solution that has many projects and many project items and you tend to get lost between your files... You might want to go to Tools –> Options –> Projects and Solutions and set Track Active Item in Solution Explorer on. For me it was a big relief that I found it. I’m working on project that has quite many projects under the solution and I have found myself constantly “searching” for files that are at the same location as the currently open file. And this is the painkiller for that pain:

 Visual Studio 2008 - Track Active Item in Solution Explorer

I’m not sure but if I have to guess... this was on by default on previous version of VS but not anymore on 2008. Because I know that I have enjoyed this feature in the past 🙂 But I might be wrong and I have manually set that on in the past too.

Anyways... Happy hacking!

J

Comments (9)

  1. BEM says:

    Sometimes, after VS crashes, the Track Active Item option will get unset.  Makes me crazy.  Gotta have it!

  2. Frusty says:

    that saves me about 20 mins a day trawling my projects (many with files of the same name) – awesome…

    VS 2008 does need an overahul…  will they have addressed all issues with 2010… hmmm, may be more!

  3. Kevin McFarlane says:

    Janne, "this was on by default on previous version of VS"

    It wasn’t on by default in VS 2005, as I remember discovering this back in 2008 when using VS 2005.

  4. David McBroom says:

    If I remember correctly, the option originally didn’t exist – VS always tracked the active item. This could be extremely annoying in some situations, and generated enough complaints that in VS 2003 the option was added. When the option was turned off, there was a context menu item to locate the active file in the solution. For some reason this menu item is missing in VS 2008 (and I believe in 2005.) Anybody have a clue why it was removed?

  5. Ishiido says:

    thanks a lot – I have been searching for this option for weeks and months

  6. Glen says:

    I really like this feature. Do you know if there is a way to change the tracking highlight color? I would like to make it more obvious.

  7. Darren says:

    This is a must have and I believe in older versions of VS it too was off by default (why MS?).

    If you have collapsed folders in your solution explorer it doesn't automatically open them to highlight the file, which is very annoying.

  8. Maninder says:

    Thanks dear u right its an pain relife for the pain of searchinggggggg

    its manual in vs2008 in each project we have to select that opesion 🙁

Skip to main content