VS 2012: Scroll Solution Explorer to current file

Sarah Weinberger picture Sarah Weinberger · Oct 2, 2012 · Viewed 123k times · Source

VS2010 had the feature that viewing a file would automatically cause Solution Explorer to scroll to that file.

With VS2012, viewing different files from within the IDE no longer scrolls and select the file in Solution Explorer automatically.

Is it possible to get this feature back? Is there a setting somewhere? If so, how/where?

Answer

Chris Bowen - MSFT picture Chris Bowen - MSFT · Oct 2, 2012

Yes, you can find that under

Tools - > Options - > Projects and Solutions - > Track Active Item in Solution Explorer

It's off by default (as you've noticed), but once it's on, Solution Explorer will expand folders and highlight the current document as you switch between files.