Tonel Smalltalk extension for Zed
Zed extension that adds Tonel Smalltalk support:
- Syntax highlighting via tree-sitter grammar
- Language server integration for Tonel Smalltalk
Current features
- Syntax highlighting for
.stfiles - "Go to definition" for class names
- "Find references" for class names
Language server
The language server (tonel-smalltalk-language-server) is automatically downloaded when the extension is installed — no manual setup or PATH configuration is required.
The extension resolves the language server in this order:
- Use
tonel-smalltalk-language-serverfrom yourPATHif present - Otherwise download the latest release from
mumez/tonel-smalltalk-language-serverautomatically
Supported platforms and their expected release asset names:
tonel-smalltalk-language-server-aarch64-apple-darwin.tar.gztonel-smalltalk-language-server-x86_64-apple-darwin.tar.gztonel-smalltalk-language-server-aarch64-unknown-linux-gnu.tar.gztonel-smalltalk-language-server-x86_64-unknown-linux-gnu.tar.gztonel-smalltalk-language-server-aarch64-pc-windows-msvc.ziptonel-smalltalk-language-server-x86_64-pc-windows-msvc.zip
macOS/Linux assets use .tar.gz; Windows assets use .zip.
If the asset for your platform is missing from the latest release, Zed will show an installation error.
Specifying the binary path explicitly
As an alternative to the automatic resolution above, you can point directly to a tonel-smalltalk-language-server binary in your Zed settings.json. Download a binary for your platform from the releases page and configure its path, for example on Windows:
{
"lsp": {
"tonel-smalltalk-language-server": {
"binary": {
"path": "C:\\Users\\someone\\bin\\tonel-smalltalk-language-server.exe",
"arguments": [],
},
},
}
}Development
Build extension wasm:
cargo checkInstall in Zed as a dev extension from this repository root.