Skip to content

Import module specifier breaks when folder name starts with $ #54279

@WesleyYue

Description

@WesleyYue

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.78.2
  • OS Version: macOS 13.2.1

Steps to Reproduce:

  1. Have a typescript module in an import path that contains a folder starting with $, such as "~/routes/trpc+/$trpc/instance"
  2. Try to import that module using the auto complete feature
  3. Observe that the import path becomes "~/routes/trpc+//instance"

Screenshot 2023-05-16 at 1 40 11 PM

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions