rturrado
rturrado

Reputation: 8064

How to avoid automatically unfolding of projects in Visual Studio 2010 Solution Explorer

I have all the projects in a solution folded, so you can't see their files in the Solution Explorer. And a file belonging to one of those projects open. Once I browse to that file pane, the project containing the file is automatically unfolded in the Solution Explorer.

Is there a way to avoid that automatic unfolding?

Upvotes: 1

Views: 260

Answers (1)

Matt Hogan-Jones
Matt Hogan-Jones

Reputation: 3103

I'm not 100% sure what you're after, but in the VS 2010 options, under "Projects and Solutions/General" there is an option called "Track Active Item in Solution Explorer".

I've just tried unchecking that and, with a mutiple project solution all collapsed, when clicking into an open code file it doesn't open up the project in the solution window. Try that and see if it produces the result you're after.

Let me know if I've misunderstood your question though!

Upvotes: 2

Related Questions