TODO: - [ ] File a PR with Yarn to add Zed to the list of supported IDEs. Fixes: https://github.com/zed-industries/zed/issues/10107 Fixes: https://github.com/zed-industries/zed/issues/13706 Release Notes: - Improved experience in projects using Yarn. Run `yarn dlx @yarnpkg/sdks base` in the root of your project in order to elevate your experience. --------- Co-authored-by: Saurabh <79586784+m4saurabh@users.noreply.github.com>
893 B
893 B
Yarn
Yarn is a versatile package manager that improves dependency management and workflow efficiency for JavaScript and other languages. It ensures a deterministic dependency tree, offers offline support, and enhances security for reliable builds.
Setup
- Run
yarn dlx @yarnpkg/sdks baseto generate a.yarn/sdksdirectory. - Set your language server (e.g. VTSLS) to use Typescript SDK from
.yarn/sdks/typescript/libdirectory in LSP initialization options. The actual setting for that depends on language server; for example, for VTSLS you should settypescript.tsdk. - Voilla! Language server functionalities such as Go to Definition, Code Completions and On Hover documentation should work.