Last post Apr 10, 2015 07:25 PM by shawn1874
Dec 31, 2008 03:11 PM|ps2goat|LINK
This may be new, or turned on by default, in Visual Studio 2008. But when I was viewing Solution Explorer and closing tree branches (e.g., folder structures), and went back to editing in VS, the Solution Explorer window kept re-expanding several branches.
This gets annoying when you have to keep scrolling through the Solution Explorer to get to something you just made visible in the window.
The problem is the way VS is configured. By default, it "tracks" the current open document meaning it will open the path to that item in the Solution Explorer window. To turn this off:
Dec 31, 2008 03:32 PM|SGWellens|LINK
Great Tip! Thanks.
Feb 26, 2009 04:51 PM|Myster|LINK
I have a similar, but I think separate problem. Here are the steps and problems I have, perhaps someone can suggest a solution...
It's a bit of a PITA having to 1. WAIT while it expands 2. double click the "Show All Files" to get back to the correct view afterwards.
Fortunately this does not happen EVERY time I run the application, just the first time after opening the solution.
NB: I have VS 2008 SP1 with Resharper 4, VisualSVN 1.5.2 and TestDriven.NET 2.13.2184 installed.
Apr 27, 2009 07:10 PM|nzmike|LINK
>Solution explorer expands EVERY folder that is not included in the project, this takes some time.
I get this problem as well - but it expands EVERY folder in the entire app!! And since we have a really big web app I agree it is an absolute pain!!
I don;t think this has to with any plugins as only have VisualSVN and it happened before I installed that as well... right from when I installed VS2008 and loaded our project into it in fact.
Does anyone know how to fix this?
Apr 27, 2009 09:37 PM|nzmike|LINK
OK, I think I solved it - when it expands everything at project load I just clicked the "show all files" button so all the non-project files disappeared then clicked it again to turn it back on and this time only the folders in the project appear expanded...
could have been luck but hopefully that will solve it.
Nov 02, 2013 11:45 PM|mahedee|LINK
Tools -> Options ->Projects and Solutions -> General
Mark "Track Active Item in Solution Explorer”
Close visual studio and then reopen
Apr 10, 2015 07:23 PM|shawn1874|LINK
For me it was already off, and yet the behavior still occurs. Therefore I am not convinced that is the answer.
Apr 10, 2015 07:25 PM|shawn1874|LINK
I do not understand this reply. It appears to be stating the opposite of what the author of the original post wrote.