Tip of the Week: Track Current File in Visual Studio Solution Explorer
While working on large codebases, I want my Solution Explorer to be synchronized with the current working file. With the solution explorer in sync, it makes navigating to other related files, adding new classes in the same location, renaming files, etc. faster.
The setting to keep the items in sync is configurable in Visual Studio and is turned off by default. You can enable this by checking the ’Track Active Item in Solution Explorer’ under Options -> Projects and Solutions -> General. You can navigate there quickly using Visual Studio Quick Launch (Ctrl + Q). Just type ’Track active’ and you will get the quick link to the setting. Keep it checked, and off you go, the solution explorer and the current file will be in sync.
PS: Visual Studio 2017 is now available.Get it if you have not already!