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... All author proceeds go directly to sending Hurricane Katrina survivors to college.

      Microsoft Visual Studio Tips book

      Recent Entries

Did you know... How to have the Solution Explorer always show (or not show) the file currently opened in the Editor? - #161

Since the default is to have the Track Active Item in Solution Explorer enabled in the General Development Settings, the more appropriate tip is either how to turn it back on or to how to turn it off.

On the Tools - Options - Projects and Solutions - General page, there's the Track Active Item in Solution Explorer.  When enabled, this will sync your solution explorer with the open document. 

Track Active Item In Solution Explorer option  

Technorati Tags: ,
Posted: Thursday, February 28, 2008 3:00 AM by saraford

Comments

Simon said:

I am still using the Beta version of VS2008 so I dont know if this is resolved but this tip doesnt work with solution folders if they are not expanded

# February 28, 2008 6:17 AM

Björn said:

I still remember how annoyed I was by the tracking feature in VS2002 (yep, I used it) and how glad I was to see it disabled by default in the successors. This sort of bears the question: why was this feature deemed useable? And what happened to the "Sync with/in class view" context menu item? The latter might be an Express SKU or C++ vs C# issue, though...

# February 28, 2008 8:16 AM

Stephen said:

I've been using this feature for a while.  However, items in a collapsed solution folder in VS2005 are not tracked.  I have to open the root solution folder to get the item to track correctly.

Is there a way to get Solution Explorer to expand the solution folder if it contains the active item?

# February 28, 2008 8:35 AM

Ghislain Hivon said:

Is there a shortcut to go to the current open document in the solution explorer (like the Track Active Item option but as an "one shot use") ?

Thank You

Ghislain

# February 28, 2008 10:26 AM

Dave Woods said:

You have made me very happy today!

# February 28, 2008 6:37 PM

Steve said:

Ideally I would love to have the context menu option to sync, but the following works a a decent alternative...

You can put the 'Track Active Item' command on your toolbar (by customizing the toolbar...I think this is under View command perhaps I forget).

I typically leave it off, but when I want to sync the Solution explorer, I just click the button (which syncs) and then click again to turn it back off.

# February 28, 2008 11:41 PM

Olmo said:

# February 29, 2008 10:44 AM

Larry Lard said:

Stephen, if you find a way, let us know :)

# February 29, 2008 10:56 AM

xjb said:

# December 29, 2008 10:51 PM

Patrick Smacchia [MVP C#] said:

Here are a few non-trivial tips for .NET developers. The first ones are from the excellent blog of Sara

# March 9, 2009 6:38 AM

Community Blogs said:

Here are a few non-trivial tips for .NET developers. The first ones are from the excellent blog of Sara

# March 9, 2009 7:37 AM
New Comments to this post are disabled
Page view tracker