mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-16 13:30:45 +00:00
.. | ||
languages/slint | ||
src | ||
Cargo.toml | ||
extension.toml | ||
README.md |
Zed Slint
This extension adds support for the Slint UI language to Zed.
Settings
This extension allows customization of the binary path and its arguments.
Normally you won't need to configure anything. Unless you are using a development shell like nix develop
or devenv
.
{
"lsp": {
"slint": {
"binary": {
"path": "/path/to/slint-lsp",
"arguments": [],
"env": {}
},
}
}
}
Development
The extension will download the version of the Slint LSP binary match the version of the extension.
To test out the development version of the extension, start zed
with the SLINT_DEV_MODE
environment variable set, and "Install Dev Extension" from the editors/zed
folder, or "rebuild extension".
When the SLINT_DEV_MODE
environment variable is set, the extension will download the
latest nightly version of the LSP binary.