Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2013: how to show active file in solution explorer?

During debug I can navigate far away from first file. It's usually useful to open solution explorer tree and check current opened file siblings. Is there shortcut to open current file in solution explorer?

like image 517
IAfanasov Avatar asked Jan 25 '15 15:01

IAfanasov


2 Answers

you can try this, imho sometimes it is buggy but it works most of the time

go to Tools, then option. Click Project and Solution. now tick the checkbox named "Track Active Item in Solution Explorer"

now when you are navigate to a file, the tree will follow.

like image 185
Eduardo A Avatar answered Sep 20 '22 13:09

Eduardo A


The feature is called Sync with Active Document. I don't have the IDE installed on the machine but I believe the shortcut is Ctrl+[, S

Sync with Active Document button in Solution Explorer

like image 31
Lukkha Coder Avatar answered Sep 22 '22 13:09

Lukkha Coder