Keyboard shortcut to enable/disable track activity in solution explorer

When I’m working in Visual Studio, I generally turn off the option to automatically track the curent item in the Solution Explorer. I don’t like the Solution Explorer hopping about as I switch from file to file. Sometimes I do like to find whatever I’m working on, though, and that can be painful if you do it manually.

Fortunately, Visual Studio has a command you can bind to a keystroke to do exactly that: View.TrackActivityinSolutionExplorer

It’s not bound to a key by default, but you can go to Tools -> Options and bind it yourself. I’ve got mine bound to Ctrl+Shift+Alt+T. (‘T’ for ‘Track’ but you might want something more memorable for you.)

NOTE: This will TOGGLE the Track Activity — so remember to hit it again to turn it off!