Skip to content

Import completion truncates package names #291

Description

@dsl101

Apologies if this is actually an LSP issue rather than ST-specific; searching online didn't turn up anything obvious on either side. I'm attempting to import 'something' from, e.g., the firebase sdk:

import {} from 'fire

I get that far, and see completions such as:

Image

I can 'tab' to select, 2 levels deep. I can get as far as this:

Image

And at that point, if I select anything in that dropdown, I end up with something like this:

import {} from 'v2/core'

The initial part of the import is missing. This happens even if there is only 1 slash in the filter to begin with. E.g. this:

Image

results in:

import {} from 'v1/auth

Is this an issue with LSP-typescript, or something unrelated?

Metadata

Metadata

Assignees

No one assigned

    Labels

    upstream issueA bug in typescript itself or other dependency

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions