Smithy language support for the Zed editor.
This extension is built on top of the original zed-smithy by Josh Rutkowski, extended with full language server support.
- Syntax highlighting via tree-sitter
- Go-to-definition (Cmd+Click)
- Find references
- Completions
- Hover documentation
- Diagnostics
- Rename
- Formatting
- Auto-imports
- Document symbols / outline
- Code folding
- Inlay hints
The extension downloads smithy-language-server automatically on first use. No manual installation needed.
The language server ships with a bundled JVM (version 0.7.0+), so no separate Java installation is required.
Open any .smithy file. The language server starts automatically and downloads itself if not already present.
For cross-file features (go-to-definition across files, completions from other namespaces), open a folder that contains a smithy-build.json at its root.
Minimal smithy-build.json:
{
"version": "1.0",
"sources": ["path/to/models"]
}- Original Zed extension: joshrutkowski/zed-smithy by Josh Rutkowski
- Language server: smithy-lang/smithy-language-server
- Tree-sitter grammar: indoorvivants/tree-sitter-smithy
- This extension was written with AI assistance.
Apache-2.0