Skip to content

Import autocomplete in jsdoc removes everything after the import. #47520

@jespertheend

Description

@jespertheend

TS Template added by @mjbvz

TypeScript Version: 4.5.4

Search Terms

  • completionInfo
  • completions
  • suggestions

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

  • VS Code Version: 1.63.0
  • OS Version: macOS 11.6.1 (20G224)

Steps to Reproduce:

  1. Download and unzip replaced_text.zip
  2. Open foo.js
  3. Place your caret on line 5 and press ctrl + space
  4. Autocomplete with bar.js
Screen.Recording.2021-12-11.at.15.33.52.mov

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptDomain: JSDocRelates to JSDoc parsing and type generationHelp WantedYou can do this

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions