When I have an open code file in Visual Studio that I am editing I would like to keep that same file highlighted inside of the solution Explorer so that I know where I am at.

What I'd really like is to change the focus to a different code file and the solution explorer to move to the file that I am editing.

Further Explanation and example: I have a project with 2 files. Class1 and Class2. I open both files. The focus is on Class1. I click on the Class2 Tab, thereby changing the file that I am editing to Class2.
Desired Behavior The solution explorer will highlight Class2.

link|improve this question

75% accept rate
feedback

2 Answers

up vote 8 down vote accepted

Tools - Options - Projects and Solutions - General - Track Active Item In Solution Explorer

I don't have full Visual Studio, only the Express Editions, where it seems to be checked by default for VB.NET and unchecked by default in C++.NET.

link|improve this answer
feedback

I prefer this solution. It allows me to work most of the time without syncying code with solution explorer. when I want to sync I just press the sync button on the solution explorer.

link|improve this answer
1  
Welcome to Super User! It would be nice to include the essential parts of the answer here, and provide the link only for future reference. – slhck Mar 31 at 12:44
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.