Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Forcing the Solution Explorer to select the file in the editor in visual studio 2005

In Visual Studio 2005, whenever I would view a file in the main editor, the Solution Explorer would find and highlight that file. Some time ago, this stopped working and the Solution Explorer would do nothing.

This has become quite a pain since following a chain of "Go To Definition"s can lead you all over your solution. Where is the setting to turn this back on?

like image 374
Jeffrey Avatar asked Aug 27 '08 20:08

Jeffrey


People also ask

How do I show selected files in Solution Explorer Visual Studio?

The icon is two arrows in the solution explorer, and has the hotkey Ctrl + [ , S to show the current document in the solution explorer.

How do I add a file to Solution Explorer?

Add files to a solution To add an item to a solution, on the context (right-click) menu of the solution node in Solution Explorer, select Add > New Item, or Add > Existing Item. A solution file is a structure for organizing projects in Visual Studio.

How do I move Solution Explorer in Visual Studio Code to the right side?

Click on the title bar, and drag it to the right portion of the screen. Eventually you'll see a compas like structure popup. Make sure you hover over the right area and let go of the mouse button. That will bind it to the right side.


1 Answers

Click on the Tools → Options menu. Select the Projects and Solutions → General option page.

Make sure "Track active item in Solution Explorer" is checked. That should do it.

like image 166
OwenP Avatar answered Oct 02 '22 09:10

OwenP