Support for Go-To-Def with Yarn PnP #10107
Labels
enhancement
[core label]
javascript
JavaScript programming language support
language server
An umbrella label for all language servers
language
An umbrella label for all programming languages syntax behaviors
tooling
An umbrella label for language tools, linters, formatters, etc
typescript
TypeScript programming language support
Check for existing issues
Describe the feature
With Yarn PnP, packages are resolved from a separate location from within zip files. There is @yarnpkg/sdks for language server support. Using the sdks, it's possible to have TSServer resolve packages correctly, however go-to-definition for packages will not work as the file itself is within a zip file. The URL given by the LSP will be a zip url and zed will open an empty buffer when resolving it.
VSCode supports this workflow with the ZipFS extension. The extension simulates a filesystem for the zip file.
If applicable, add mockups / screenshots to help present your vision of the feature
The file inside the zip archive should be opened instead. It can be read-only if necessary.
The text was updated successfully, but these errors were encountered: