Skip to content

Linked libraries are not suggested with require/import #40036

Closed
@TheColorRed

Description

@TheColorRed
  • VSCode Version: Code 1.18.1 (929bacb, 2017-11-16T18:32:36.023Z)
  • OS Version: Windows_NT x64 10.0.15063

Steps to Reproduce:

  1. cd into library
  2. run npm link
  3. cd into the project that utilizes the library
  4. run npm link my-library
  5. open a js or ts file and do a require or import to get intellisense

Expected output:

Suggestions of the linked library should show up for autocompletion

Actual output:

Only non-linked libraries show up in the intellisense

Reproduces without extensions: Yes

Metadata

Metadata

Assignees

Labels

javascriptJavaScript support issuesupstreamIssue identified as 'upstream' component related (exists outside of VS Code)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions