packages/shared-skills/skills/lsp-setup/references/dart/README.md
dart — dart language-server --lsp.dartIncluded with the Dart/Flutter SDKThe language server ships inside the Dart SDK (and the Flutter SDK, which bundles Dart). There is no separate package to install — just put dart (or flutter) on PATH.
brew install dart (or install Flutter and use its bundled dart)https://dart.dev/get-dart, or install Flutterbin to PATHConfirm it resolves:
command -v dart
Builtin — usually NO config needed (auto-resolved by extension). Configure only to set priority, init options, override extensions, or disable. Same JSON shape in .codex/lsp-client.json (Codex) AND .opencode/lsp.json (OpenCode/omo):
{ "lsp": { "dart": { "priority": 100 } } }
For builtin ids in a PROJECT config, command is supplied automatically — only set priority/initialization/extensions/disabled/env. A fully custom (non-builtin) server with its own command must go in the USER config (~/.codex/lsp-client.json).
None commonly required.
None.
dart must be on PATH; reopen the shell after installing the SDK. Flutter users: ensure <flutter>/bin/cache/dart-sdk/bin or the Flutter bin is exported.dart works — make sure Flutter's bin is on PATH rather than relying on a separate Dart install.dart --version / flutter upgrade if analysis behaves oddly on newer language features.bun ../../scripts/verify-lsp.ts path/to/file.dart