Repository navigation
Description
Problem
Developers using Zed need Citry assistance without switching editors. Feedback identifies missing JavaScript editing features inside component strings as an adoption concern.
The current checkout has citry-lsp, but no verified Zed integration. Connecting the server can expose Citry's standard LSP features; it does not automatically reproduce the VS Code extension's general JavaScript provider bridge.
Proposed work
- Create a Zed extension that discovers and launches
citry-lspin the project's Python environment and lets users select the app whose registered components the server should load. - Register support for Python components and standalone Citry templates while preserving ordinary Python tooling.
- Prototype how Citry highlighting and language injections can coexist with Zed's built-in Python support. Verify the extension API permits the intended approach before promising embedded highlighting.
- Document setup, supported versions, project configuration, and recovery when the server or project app cannot load.
- Keep Citry semantics in the shared implementation. Connect general embedded JavaScript assistance to the shared language-service issue linked below.
Acceptance criteria
An installable development extension demonstrates Citry diagnostics, completion, hover, and navigation in a reproducible project. Python tooling continues to work. Document which inline/file-backed features and highlighting modes are verified, and any limitations discovered during the prototype.
Baseline integration can ship before full JavaScript language-service support. Debugger integration is tracked separately.
References
- Zed language extensions
packages/py/citry_lsp/docs/design/embedded_language_ide.md
Related work
- Shared JavaScript language service: IDE: provide shared JavaScript language-service support through citry-lsp #116
- Source-mapped debugging: Debugging: map running component JavaScript back to authored source #117
Activity