How to keep track of active files inside Solution Explorer of Visual Studio
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 Tools → Options and Select Projects and Solutions and enable "Track Active Item in Solution Explorer "
And that's it. Navigate across files and the solution explorer will also navigate along with you.