Keep track of active files in Visual studio Solution Explorer

Subscribe to my newsletter and never miss my upcoming articles

While working with complex projects and multiple files, it's very natural to get lost in the code flow. On top of that, going through the code flow can be even more difficult as Visual Studio by default shows the file in the Solution Explorer which you opened by double-clicking. When you move across project files, by default solution explorer doesn't show the current active file.

But there is a simple way to have Visual Studio show the active files in solution explorer. Goto ToolsOptions and Select Projects and Solutions and enable "Track Active Item in Solution Explorer "

options-1.png options-panel-1.png

And that's it. Navigate across files and the solution explorer will also navigate along with you.

solution-explorer1.gif

No Comments Yet