Skip to content

Use package.json exports for AutoImportProvider under --moduleResolution node #48977

@OnkelTem

Description

@OnkelTem

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

  • VS Code Version: 1.66.2
  • OS Version: Linux Kubuntu 20.04

Steps to Reproduce:

  1. npm init -y
  2. npm i yargs
  3. create a js file and type there: hideBin (it's a function from the yargs module)
  4. then open the "Quick fix..." context menu
  5. it doesn't contain an import suggestion

image

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions