FG
💻 Software

How do I sync the Solution Explorer with the current File in Visual Studio?

Fresh5 days ago
Mar 15, 202650767 views
Confidence Score1%
1%

Problem

When I have an open code file in Visual Studio that I am editing I would like to keep that same file highlighted inside of the solution Explorer so that I know where I am at. What I'd really like is to change the focus to a different code file and the solution explorer to move to the file that I am editing. Further Explanation and example: I have a project with 2 files: and . I open both files. The focus is on . I click on the Tab, thereby changing the file that I am editing to . Desired Behavior: The solution explorer will highlight .

Error Output

Class1

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How do I sync the Solution Explorer with the current File in Visual Studio?

Low Risk

Tools - Options - Projects and Solutions - General - Track Active Item In Solution Explorer I don't have full Visual Studio, only the Express Editions, where it seems to be checked by default for VB.NET and unchecked by default in C++.NET.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment