Files
oak-gpui/docs/src/languages/yarn.md
T
Marshall Bowers 3a44a59f8e docs: Format docs (#15352)
This PR formats the rest of the docs' source files.

I'll follow up with a CI check to ensure they stay formatted.

Release Notes:

- N/A
2024-07-27 14:52:21 -04:00

894 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

  1. Run yarn dlx @yarnpkg/sdks base to generate a .yarn/sdks directory.
  2. Set your language server (e.g. VTSLS) to use Typescript SDK from .yarn/sdks/typescript/lib directory in LSP initialization options. The actual setting for that depends on language server; for example, for VTSLS you should set typescript.tsdk.
  3. Voilla! Language server functionalities such as Go to Definition, Code Completions and On Hover documentation should work.