22
33IDE integrations and language server clients for the Leo programming language.
44
5- This workspace is intended to be the long-term home for Leo editor clients and
6- adjacent tooling: VS Code today, and eventually other integrations such as Zed,
7- Vim, Cursor, Sublime Text, MCP-facing tooling, and shared client infrastructure.
5+ This workspace is the long-term home for Leo editor clients and adjacent
6+ tooling. All clients share ` leo-lsp ` (the Leo language server) and the
7+ tree-sitter grammar + queries regenerated from upstream ` ProvableHQ/leo ` .
8+
9+ ## Supported clients
10+
11+ | Client | Integration | Package / distribution |
12+ | --------| -------------| ------------------------|
13+ | ** VS Code** | Native extension | ` packages/vscode ` → VS Code Marketplace (` aleohq.leo-extension ` ) |
14+ | ** Cursor** | Runs the VS Code extension | ` packages/vscode ` → Open VSX |
15+ | ** Antigravity** | Runs the VS Code extension | ` packages/vscode ` → Open VSX |
16+ | ** Zed** | Native extension | ` packages/zed ` → Zed extensions registry |
17+
18+ Cursor and Antigravity are VS Code–compatible editors: they install the same
19+ extension from ` packages/vscode ` (via Open VSX) and each has its own validation
20+ harness. Zed is a separate, native Rust extension. Further integrations (Sublime
21+ Text, JetBrains, MCP-facing tooling) are planned.
822
923## Workspace Layout
1024
1125- ` packages/vscode ` : The Leo VS Code extension that will continue publishing to
12- the existing ` aleohq.leo-extension ` marketplace listing.
26+ the existing ` aleohq.leo-extension ` marketplace listing. Also the extension
27+ installed by Cursor and Antigravity (via Open VSX).
28+ - ` packages/zed ` : The native Leo extension for the Zed editor (Rust →
29+ ` wasm32-wasip2 ` ). Registers the ` leo ` language, pins the tree-sitter grammar
30+ to a ` ProvableHQ/leo ` release commit, and launches ` leo-lsp ` over stdio. See
31+ ` packages/zed/README.md ` (install/usage) and ` packages/zed/Developer.md `
32+ (build, validation, release).
1333- ` packages/shared ` : Shared substrate consumed by every Leo editor client and
1434 by CI workflows. See ` packages/shared/README.md ` for the per-subdirectory
1535 index. Contains the canonical TextMate grammar (regenerated from
@@ -26,11 +46,14 @@ Vim, Cursor, Sublime Text, MCP-facing tooling, and shared client infrastructure.
2646
2747## Current Focus
2848
29- The current implementation work is centered on the VS Code extension:
49+ The VS Code extension (also serving Cursor and Antigravity) and the Zed
50+ extension are the shipping clients. Cross-cutting work:
3051
3152- syntax artifacts generated from Leo's tree-sitter source in the main
32- ` ProvableHQ/leo ` repo for both VS Code and Prism-based website consumers
33- - a lean client-side extension scaffold
53+ ` ProvableHQ/leo ` repo, kept in lockstep across consumers (VS Code TextMate,
54+ Prism for the website, and the Zed tree-sitter queries) by one sync workflow
55+ - lean client-side extension scaffolds that defer real language features to
56+ ` leo-lsp `
3457- a clean migration path toward future Rust-based language tooling
3558
3659## Where To Look
@@ -39,11 +62,15 @@ The current implementation work is centered on the VS Code extension:
3962 ` packages/vscode/README.md `
4063- VS Code developer and release workflow notes:
4164 ` packages/vscode/Developer.md `
65+ - Zed user-facing extension README:
66+ ` packages/zed/README.md `
67+ - Zed developer, build, and release notes:
68+ ` packages/zed/Developer.md `
4269- Repository contribution notes:
4370 ` CONTRIBUTING.md `
4471- Shared generated website syntax assets:
4572 ` packages/shared/README.md `
46- - VS Code tag-watching sync automation:
73+ - Leo tag-watching sync automation (TextMate, Prism, and Zed grammar/queries) :
4774 ` .github/workflows/watch-leo-tags.yml `
4875- Downstream docs Prism sync automation:
4976 ` .github/workflows/sync-prism-to-leo-docs.yml `
@@ -62,6 +89,17 @@ npm run build:vscode
6289npm run package:vscode
6390```
6491
92+ For the Zed extension:
93+
94+ ``` bash
95+ npm install # for the shared leo-lsp-smoke / discover CLIs
96+ npm run build:zed # cargo build --release --target wasm32-wasip2
97+ npm run validate:zed # builds the wasm + leo-lsp-smoke definition assertion
98+ ```
99+
100+ To run it in Zed, use the command palette → ** zed: install dev extension** →
101+ select ` packages/zed ` (Zed compiles + loads it). See ` packages/zed/Developer.md ` .
102+
65103The root workspace README intentionally stays lightweight. Package-specific
66104details, sync behavior, and release flow documentation should live with the
67105package they belong to.
0 commit comments