Solution Explorer Tools

Free

Lets you specify when Solution Explorer syncs to the current item. Adds 3 buttons to solution explorer: Select current item, Collapse all, Collapse all except current item

(21) Review
Visual Studio
2010
Download (13,773)
10/17/2012
2.4
View
E-mail Twitter del.icio.us Digg Facebook
Add to favorites
Description
Reviews (21)
Q and A (8)
Sign in to write a review
Sort by:

by eekstein | September 29 2012

I use this extension more then any other extension. There are other extensions that do something similar but they have dozens of other features I never use. This one has exactly what I want. If you want do not like the "Track Active Item in Solution Explorer" but need a way to find the current class in the Solution Explorer then this is the tool for you. If you need an easy to to collapse projects in the Solution Explorer without installing dozens of other unused features then this is the tool for you.

by Oren_Slidigo | August 26 2012

Simple and to the point, does just what I needed. Thanks!

by ts_mpls | June 05 2012

by Christian Jensen | March 24 2012

Awesome!

by Eduardo Molteni | October 13 2011

Lovely! Great tool

by sbarkdull | July 19 2011

Love this tool. Having developed on Eclipse for several years, I was used to having a tool to "Sync" the editor with Solution Explorer's tree control. I was surprised that Microsoft didn't already have the tool as part of Visual Studio.

I was pleased when I found this extension that performs a similar task. It makes developing noticeably easier.

Thank you Chris for developing the extension!

by timeup | May 30 2011

excellent utility..saves me a lot of time.

by MohammadReza Taesiri | March 15 2011

by dddaniel | February 23 2011

by Ryan Manwiller | February 02 2011

by Jason Schaeffer | January 28 2011

It used to be a pain to make a specific change to multiple files in one project -- every time I'd close a file, the solution explorer would jump to a different spot from where I needed it to be. Using the "Solution Explorer Tools", I can take control, choosing to highlight the active file in the tree only when I want. The "Collapse All" and "Collapse to Item" features are very useful too.

I wonder if it would be possible to have an "undo last collapse" button, so I can use the "Collapse to Item" feature to see where my active file, then put the tree back to being expanded the way it was.

-- UPDATE: I see you added the undo feature. Exactly what I was looking for. Thanks!

by Stephen Redd | January 25 2011

By far the best extension for solution collapse functionality!

by Severin Meyer | January 14 2011

by Fry123 | November 18 2010

Love it! So useful.

by CC86 | October 15 2010

by qwertyC123 | September 26 2010

by Luke Goodfellow | September 26 2010

by bsivanov | September 24 2010

by Anonymous1233457 | September 21 2010

If you're still looking, there are some nicer icons here:

http://p.yusukekamiyamane.com/

Or the ever-popular Silk icons set:

http://www.famfamfam.com/lab/icons/silk/

Thanks for the extension!

by Rainer Queck | September 14 2010

Very helpful on large solutions!

1 - 20 of 21 Items   
Sign in to start a discussion


  • Option to Hide Undo
    1 Posts | Last post August 06, 2013
    • Since the undo button appeared, I keep hitting it accidentally when trying to hit the track item button.  Could you add an option to hide it?
  • Visual Studio 2012 support?
    3 Posts | Last post October 22, 2012
    • I have been using this extension and it's been incredibly useful. Is there any chance we are going to get a Visual Studio 2012 version?
    • Not exactly. The solution explorer has changed quite a bit in VS2012, and the basic functionality of this extension is already in it (Sync, Collapse).
      
      I do plan on making a different extension which would do a collapse and then sync, which for me is the best part of this extension.
      
      There's some other features that wouldn't make it like the undo, but personally, I never really found that to be useful.
    • Here's the link to VS 2012's version.
  • Menu options dissappear from solution explorer
    2 Posts | Last post August 03, 2012
    • I use this frequently, but just started finding that the buttons no longer appear at the top of the solution explorer.  I tried installing it again, but just get a message that it is already installed for all applicable products.  How can I uninstall and re-install it?  Do you know if there have been any updates to VS2010 that cause this tool to break?
    • Nevermind - I found that something had disabled the extension under the extension manager.  Not sure how that happened since I know for sure I didn't disable it.
  • v2.4 always throws "Member not found" exception
    4 Posts | Last post February 03, 2012
    • Excellent idea, required feature in large solution, however any functionality (sync, collapse) doesn't work for me - always get exception:
      ---------------------------
      Member not found. (Exception from HRESULT: 0x80020003 (DISP_E_MEMBERNOTFOUND))
      ---------------------------
      Windows 7 x64, VS 2010
      "Track Active Item in Solution Explorer" is off
    • Hi, my guess is it's something specific to your solution, would you be able to send me the solution and project files you're experiencing this on (the actual code files won't be needed)?
    • Hey,
      
      I get the same error in my solution.  In my case I have a Azure Cloud Service that is stops collapsing on and then throws that same error.
      
      Hope that helps.
      
      Awesome tool.  Love it.
      
      Thanks so much,
      Tom
      @tomkrueger
    • Thanks Tom, that definitely does help. I'll try and replicate it soon (busy week) and get onto fixing it.
  • Sync Item expands all projects above the item
    5 Posts | Last post September 12, 2011
    • My expectation is that Sync Item should only expand the path between the solution root and the item. Instead, it expands all projects located before the project with the item.
    • The extension doesn't expand every project located before the project.
      
      However, it does have to fight against visual studio a bit. If you use solution folders, under certain conditions, visual studio will expand all projects when they are first opened. This is probably what you're referring to. As such their state before I touch them is "expanded" and I honour that state.
      
      But also note that the extension contains "Collapse to item" this collapses EVERYTHING except the path to the current item.
      
      If you believe that your problem isn't covered by this explanation, please send me a video of the problem (I recommend Jing, very simple) And I'll look into it.
    • Thanks for the response. Yes, I use solution folders to structure my projects. What do you mean by "expand all projects when they are first opened"? I usually have only one or two solution folders expanded, among them the folder that contains the project in question. When my VS starts, the solution folders are collapsed.
      
      Thanks, the Collapse to Item option works. Better than expected, actually, because after I use it for the first time in a VS instance, Sync to Item also no longer expands all projects but works as it should. Apparently, there is something really strange going on with the proejct state. Maybe what VS shows and what's actually managed in its state are out of sync?
      
      Michael
    • I just tried it on a solution with a lot of solution folders and there's definitely a bug there, I pretty much always use "collapse and sync" so I never came across it.
      
      Sorry for not testing it earlier.
      
      Hopefully I'll issue a fix soon.
    • Thanks!
      Michael
  • 2.1 update broke the extension for me
    5 Posts | Last post February 02, 2011
    • When I click any of the buttons, I get a dialog like this:
      
      ---------------------------
      Not implemented (Exception from HRESULT: 0x80004001 (E_NOTIMPL))
      ---------------------------
      
      I am using vs 2010 RTM.
      
    • Hi Ryan,
      I've noticed a similar bug in 2.1 which I've issued 2.2 for.
      If it doesn't fix it for you it should (hopefully) provide you with a more detailed error message (A stack trace).
      If you could give me that new message (or tell me if it's fixed) and I'll get on it quickly.
      
      Thanks,
      Chris.
    • Still broken:
      
      Not implemented (Exception from HRESULT: 0x80004001 (E_NOTIMPL))
      
         at EnvDTE.UIHierarchyItem.get_Name()
      
         at CMcG.SolutionExplorerTools.TreeSerialiser.Serialise(UIHierarchyItem item, String prefix)
      
         at CMcG.SolutionExplorerTools.TreeSerialiser.<>c__DisplayClass4.<Serialise>b__1(UIHierarchyItem x)
      
         at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
      
         at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
      
         at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
      
         at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
      
         at CMcG.SolutionExplorerTools.TreeSerialiser.Serialise(UIHierarchyItem item, String prefix)
      
         at CMcG.SolutionExplorerTools.TreeSerialiser.<>c__DisplayClass4.<Serialise>b__1(UIHierarchyItem x)
      
         at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
      
         at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
      
         at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
      
         at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
      
         at CMcG.SolutionExplorerTools.TreeSerialiser.Serialise(UIHierarchyItem item, String prefix)
      
         at CMcG.SolutionExplorerTools.TreeSerialiser.<>c__DisplayClass4.<Serialise>b__1(UIHierarchyItem x)
      
         at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
      
         at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
      
         at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
      
         at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
      
         at CMcG.SolutionExplorerTools.TreeSerialiser.Serialise(UIHierarchyItem item, String prefix)
      
         at CMcG.SolutionExplorerTools.SolutionExplorer.SyncItem(DTE2 dte, Boolean isUndoable)
    • Thanks, very similar to the other bug - exact same line just different exception.
      It should be fixed in 2.3.
      
      Pretty much the Recording of the state for the undo asked each item for its name. Some items (in the case of the 2.2, if you had an unloaded project the line under that that said "this project is unloaded", not sure what was causing yours) don't have a name and instead throw an exception. Unfortunately I could find no other way to detect it except to catch the exception.
    • Looks like that fixed it. Thanks!
  • Keyboard shortcut assignment
    2 Posts | Last post February 02, 2011
    • I realy like the "Solution Explorer Tools" Extension.
      Unfortunately the default assignment of the shortkey for Project.Collapsetoitem is not very useful, when the keyboard layout is Swiss(German). In this case, the opening square bracket is used. So you can't type a square bracket in the code editor. It tooks a while to identifying the cause.
      So perhaps it would be better to not assign a shortcut at all.
    • Hi thanks for the tip,
      I'll probably remove it in an update soon.
  • Sync Item doesn't select item on first try
    3 Posts | Last post July 30, 2010
    • Clicking Sync Item does expand the folder containing the item, but doesn't select the item on the first try. Clicking Sync Item again will select it.
    • Thanks, this is starting to really annoy me now, so hopefully I'll fix it quite soon.
      It didn't use to happen, I think in my attempts to remove as many instances of the 'Unspecified error (Exception from HRESULT: 0x80004005 (E_FAIL))' error (only happens if you have solution folders under certain conditions, I've made it so it rarely happens now) so I don't think it will take me too long.
    • As of version 1.5 this should be fixed. Please tell me if it continues for you.