Skip to content

Autocomplete 'duplicates' path when typing part of the path and then autocomplete #41088

@StefanKoenen

Description

@StefanKoenen

TS Template added by @mjbvz

TypeScript Version: 4.0.3

Search Terms

  • Suggestion / suggest / intellisense
  • paths

  • VSCode Version: 1.49
  • OS Version: W10 - up to date

Steps to Reproduce:

  1. Create a new typescript project (I have used a nrwl nx workspace)
  2. Add a new path to the paths object in the tsconfig to map a path to a folder (I created a new nx library) and make sure the path alias is nested (see my video)
  3. Try to import from the path, start with typing 2/3 of the path and then press tab to autocomplete
    https://sharexx.blob.core.windows.net/sharex/sharex/2020_10_06_11_24_00_7b322a7d-7e30-4a01-afc6-3050399160db.mp4

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptDomain: LS: Completion ListsThe issue relates to showing completion lists in an editorEffort: ModerateRequires experience with the TypeScript codebase, but feasible. Harder than "Effort: Casual".Help WantedYou can do this

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions