Skip to content

Go to definition shows duplicate definitions due to URI different between file:///c%3A/ and file:///c:/ on Windows #3285

Description

@son-urban

Description

On Windows, the "Go to Definition" feature shows duplicate entries for the same definition due to differences in the URI format:

One uses: file:///c%3A/
The other uses: file:///c:/

Reproduction steps

  1. Open a Ruby project in VS Code on Windows.
  2. Use the "Go to Definition" feature on a method or class.
  3. Observe that duplicate definitions appear in the results.

Image

Image

Image

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

    bugSomething isn't workinghelp-wantedExtra attention is neededvscodeThis pull request should be included in the VS Code extension's release notes

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions