Reputation: 135
I'm using VS 2010, 2012 & 2013.
Usually I don't want the IDE to auto-focus on the item in solution explorer but sometimes it's useful.
Is there any keyboard shortcut or a menu option to navigate to the file in solution explorer on demand?
Thanks :)
Upvotes: 9
Views: 3274
Reputation: 2310
I know your question refers to 2010, 2012 & 2013, but VS 2017 has a button on the solution explorer to sync with active document:
Upvotes: 9
Reputation: 5201
For VS 2012, 2013, 2015 and 2017: "Sync with Active Document" (default shortcut: Ctrl+[, S).
Upvotes: 15
Reputation: 162
Go to Tools/Options/Enviroment/keyboard look for View.TrackActivityinSolutionExplorer and assign the shortcut that you want.
Here I needed to remove the shortcut first, because the ctrl+shift+t was already assigned.
Of course, you can assign other shortcut.
Upvotes: 2