-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Closed as not planned
Closed as not planned
Copy link
Labels
Needs More InfoThe issue still hasn't been fully clarifiedThe issue still hasn't been fully clarified
Description
Reposting from VSCode repo for @magnusriga. I transferred the original issue to the wrong repo and now can't transfer it back
Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: 1.84.2
- OS Version: Windows 11 Pro
Steps to Reproduce:
- Build any project (A) with a dependency on another project (B), where project B's package.json exports files using the
exports
field - Observer how Intellisense does not work
- Insert the
main
andtypes
fields and see that Intellisense starts working again
Intellisense Works When main
and types
are set:
Package B's package.json
Package A's import
(notice the Intellisense pop-up. It is possible to ctrl-click the path.)
Intellisense Does Not Work When only exports
is set:
Package B's package.json
(removed main
and types
)
Package A's import
(not possible to crl+click to find the package, i.e. no Intellisense)
thomasnegermagnusriga and romanstetsyk
Metadata
Metadata
Assignees
Labels
Needs More InfoThe issue still hasn't been fully clarifiedThe issue still hasn't been fully clarified