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
jtran007Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

morguloCommented:
You can check "Track active item in solution explorer" option: Tools->Options->Project and solutions.
I prefer addon DPack - after right click on code tab there is "Locate in solution explorer" option.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jtran007Author Commented:
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
0
Todd GerbertIT ConsultantCommented:
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.
0
Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

systanCommented:
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>.
0
morguloCommented:
If you right click on solution file in solution explorer, there is also "Collapse all projects" command.
0
jtran007Author Commented:
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
0
morguloCommented:
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.
0
jtran007Author Commented:
Thanks,
JT
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.