Microsoft/TypeScript

Import autocomplete in jsdoc removes everything after the import.

Open

#47,520 opened on Dec 11, 2021

View on GitHub
 (2 comments) (0 reactions) (0 assignees)TypeScript (6,726 forks)batch import
BugDomain: JSDocHelp Wanted

Repository metrics

Stars
 (48,455 stars)
PR merge metrics
 (Avg merge 6d 17h) (9 merged PRs in 30d)

Description

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

https://user-images.githubusercontent.com/2737650/145680370-4003354b-99a9-4909-8651-5f817b8beced.mov

Contributor guide