Skip to content

[Bug]: Go to Definition and Find References open a duplicate tab under junction, subst or short paths #361

Open

Description

Describe the bug

When the workspace is opened through a junction, a subst drive or an 8.3 short path, definition and references return the resolved real path. VS Code opens a second tab for the same file, and one references result can mix both spellings.

To Reproduce

  1. subst S: C:\src\MyApp and open S:\ in VS Code.
  2. F12 on Click="OnClick" in a page.
  3. The code-behind opens as C:\src\MyApp\... in a new tab.

Expected behavior

Returned URIs use the same path spelling as the workspace.

Notes

Bug bash ID: C-32.

Screenshots

No response

OS Version and details

Windows 11 x64 (10.0.26200), VS Code 1.143.1, .NET SDK 10.0.403. Found in the XAML IntelliSense bug bash on 0.3.1-prerelease.456 (PR #276, f90df977).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugintellisense

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions