WillyCode
WillyCode

Reputation: 135

track active item in solution explorer ONLY on demand

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

Answers (3)

AntonK
AntonK

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:

enter image description here

Upvotes: 9

AlejandroR
AlejandroR

Reputation: 5201

For VS 2012, 2013, 2015 and 2017: "Sync with Active Document" (default shortcut: Ctrl+[, S).

Upvotes: 15

Everton Santos
Everton Santos

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.

steps

Upvotes: 2

Related Questions