filevisual-studio-2012solution-explorer

VS 2012: Scroll Solution Explorer to current file


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?


Solution

  • 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.