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?
In Visual Studio's menu go to Tools > Options > Projects and Solutions. Then check "Track Active Item in Solution Explorer".
Just drag and drop onto the mechanic and dock the solution explorer window to the left side of the window. You must drop the panel onto the fastener, in the position you wish it to be docked (in the case, the rectangle on the left of the fastener, highlighted with a red circle).
The default keyboard shortcut for opening/jumping to Solution Explorer is Ctrl + Alt + L .
To verify open any file in Visual Studio and press the shortcut keys Shift + Alt + L and you'll see the file in the solution explorer. Enjoy!
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.
If you need one-off sync with the solution pane, then there is new command "Sync with Active Document" (default shortcut: Ctrl+[, S). Explained here: Visual Studio 2012 New Features: Solution Explorer
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With