Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] DevKit Doesn't Respect Auto Reveal Option #1634

Open
itsimtiaz opened this issue Nov 25, 2024 · 2 comments
Open

[BUG] DevKit Doesn't Respect Auto Reveal Option #1634

itsimtiaz opened this issue Nov 25, 2024 · 2 comments
Labels
area-solution Solution explorer bug Something isn't working

Comments

@itsimtiaz
Copy link

Describe the Issue

When I open VS Code, the active item is not tracked in the solution explorer, despite having the "Auto Reveal" option enabled. However, in the normal "Folder" explorer, the active item is tracked correctly.

Steps To Reproduce

  1. Enable the following property in VS Code:
    Explorer: Auto Reveal.
  2. Close the editor and reopen it.

Expected Behavior

The solution explorer should track the active item, just like the normal "Folders" view does.

Environment Information

VS Code version: 1.95.3
C# Dev Kit version: v1.14.8 (pre-release)

@itsimtiaz itsimtiaz added the bug Something isn't working label Nov 25, 2024
@webreidi
Copy link

@itsimtiaz The Solution Explorer has its own setting: dotnet.automaticallySyncWithActiveItem that needs to be set if you want Solution Explorer to track open document. This was added so you can set File Explorer and Solution Explorer different depending on which one you use more often.

@webreidi webreidi added the area-solution Solution explorer label Nov 26, 2024
@itsimtiaz
Copy link
Author

@webreidi I activated the feature, and it partially worked. However, if you restart VsCode and there's already a file open, it doesn't track it. It only starts tracking if you close and reopen the file. Thus, it still doesn't work upon restarting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-solution Solution explorer bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants