Skip to content

Import path completions don't include file extensions that are part of export wildcard globs #62706

@vdegenne

Description

@vdegenne

Demo Repo

https://github.com/ghost/myrepo

Which of the following problems are you reporting?

Something else more complicated which I'll explain in more detail

Demonstrate the defect described above with a code sample.

A video is worth a thousand words

screencast_2025-11-01_18-36-25.mp4

The .js part there is lost

Run tsc --showConfig and paste its output here

private project,
happens everywhere though.

Run tsc --traceResolution and paste its output here

private

Paste the package.json of the importing module, if it exists

private

Paste the package.json of the target module, if it exists

private

Any other comments can go here

The issue appears both on vscode, and in nvim using mason/lsp/tsserver

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptDomain: LS: Completion ListsThe issue relates to showing completion lists in an editor

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions