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.
Technorati Tags: VS2005Tip,VS2008Tip
Comments
Anonymous
February 27, 2008
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 expandedAnonymous
February 27, 2008
PingBack from http://www.biosensorab.org/2008/02/28/did-you-know-how-to-have-the-solution-explorer-always-show-or-not-show-the-file-currently-opened-in-the-editor-161/Anonymous
February 28, 2008
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...Anonymous
February 28, 2008
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?Anonymous
February 28, 2008
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 GhislainAnonymous
February 28, 2008
You have made me very happy today!Anonymous
February 28, 2008
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.Anonymous
February 29, 2008
Ghislain, you should use cool commands to do so: http://geekswithblogs.net/brians/archive/2007/03/04/107922.aspx Now it even works on VS 2008: http://geekswithblogs.net/SoftwareDoneRight/archive/2007/12/12/coolcommands-in-visual-studio-2008.aspxAnonymous
February 29, 2008
Stephen, if you find a way, let us know :)Anonymous
December 29, 2008
本篇包括tip161-tip170http://www.watch-life.net/visual-studio/visual-studio-2008-tip-day-17.html#161、在解...Anonymous
March 08, 2009
Here are a few non-trivial tips for .NET developers. The first ones are from the excellent blog of SaraAnonymous
March 08, 2009
Here are a few non-trivial tips for .NET developers. The first ones are from the excellent blog of Sara