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

visual-studio

Solution

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.

Problem

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?

Original source