Skip to content

[Bug?]: The vscode pnp integration is completely broken (type info, go to definition, etc) #3745

@danieltroger

Description

@danieltroger

Self-service

  • I'd be willing to implement a fix

Describe the bug

It is impossible to get yarn pnp to work with the latest vscode and typescript.
Zipfs works but imports aren't typed and go to definition doesn't work.

To reproduce

follow the editor guide on a freshly setup user and you'll see it doesn't work.

Here is a video of me following every step and showing that it doesn't work. Please watch it thoroughly and tell me what I'm doing wrong or fix so that it works:

https://youtu.be/UPdtk7Mi6Ew (it's probably still processing if it's blurry)

Environment

System:
    OS: macOS 10.15.7
    CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
  Binaries:
    Node: 17.0.1 - /private/var/folders/q_/xzl9z_1x2g17_4gvys67mfqw0000gn/T/xfs-c8f67124/node
    Yarn: 3.1.0 - /private/var/folders/q_/xzl9z_1x2g17_4gvys67mfqw0000gn/T/xfs-c8f67124/yarn
    npm: 8.1.0 - /usr/local/bin/npm

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions