Link to home
Start Free TrialLog in
Avatar of jtran007
jtran007

asked on

c# editor click inside file connecting to project

Hi,

I have 100 projects. What setup I can do so that whenever I edit a file, its project will be highlighted in the
solution explorer?

Thanks,
jT
ASKER CERTIFIED SOLUTION
Avatar of morgulo
morgulo
Flag of Poland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jtran007
jtran007

ASKER

Hi,

Thanks for your suggestion.

Since I have 100 projects, when startup the solution explorer somehow expands these 100 projects which shows each file under its project. Is there a way not letting solution explorer expanding since its' really hard for me to track projects in the solution explorer?

I increase the point to 250.

Thanks,
JT
Avatar of Todd Gerbert
May I ask why you have 100 projects in one solution?

A solution is supposed to be used to group together related projects that typically depend on each other. For example, I have a program that uses Windows Forms to allow the user to interact with a database. This program consists of two separate projects, one is a Windows Forms application and the other is a Class Library (DLL) that the Forms application uses to interact with the database. Since the Forms application depends on the Class Library, and the two projects are both part of the same end-result, they're kept in one Solution.

A Solution is not really intended to organize all of your projects, and so it may not work well for that purpose - there may be better alternatives.
Goto <Window> Menu,
then find and Click/select <Reset window Layout>
with that, you will see the window arrange well, then you will see the <server explorer>at the right side, along with the <toolbox>.
If you right click on solution file in solution explorer, there is also "Collapse all projects" command.
Hi,
Systan:  it does not collapse all projects which has dozen files attached to it.

Morgulo: which vs version are you mentioning? I don't see on vs 2008.

Please clarify,
Thanks,
JT
Sorry, I didn't notice Dpack has added this option, but I think VS remembers user settings in .suo file. You must collapse all projects and close VS. When you open solution next time all project should be collapsed.
Thanks,
JT