Check the “Track Active Item in Solution Explorer” option in Options dialog (from TOOLS menu), Projects and Solution, General section.
There is also the “Sync with Active Document” button in Solution Explorer.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
in vs professional 2022 preview I do not see possibility to Track Active Item in Solution Explorer.
Check the “Track Active Item in Solution Explorer” option in Options dialog (from TOOLS menu), Projects and Solution, General section.
There is also the “Sync with Active Document” button in Solution Explorer.