Skip to content

LabelService.getUriLabel misreports relative path when workspace folder is at root of filesystem #114416

Closed

Description

Issue Type: Bug

This showed up when trying to use the new RELATIVE_FILEPATH snippet variable (see #114208) with a resource served by a FileSystemProvider in which it is common to have a workspace path of /

I plan to submit a PR. Initially it will only contain a new test to demonstrate the bug. Then I will push a fix.

VS Code version: Code - Insiders 1.53.0-insider (1a6eef3, 2021-01-15T05:15:40.826Z)
OS version: Windows_NT x64 10.0.19042

Activity

  1. added 2 commits that reference this issue on Jan 15, 2021
    a255887
    9022674
  2. added
    bug
    on Jan 15, 2021
  3. added a commit that references this issue on Jan 15, 2021
    79cfca5
  4. added
    unreleased
    insiders-released
    and removed
    unreleased
    on Jan 15, 2021
  5. isidorn commented on Jan 18, 2021

    @isidorn

    Adding to January milestone so we get this verified.
    John Murray (@gjsjohnmurray) once you get todays vscode insiders it would be cool if you let us know if this behaves as expected. Thanks!

  6. gjsjohnmurray commented on Jan 18, 2021

    @gjsjohnmurray
    ContributorAuthor

    /verified

  7. isidorn commented on Jan 18, 2021

    @isidorn

    Thanks 👏

  8. locked and limited conversation to collaborators on Mar 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

buginsiders-releasedlabel-providerverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions