|
Zed
[Previous]  [Next] 
|
![]() |
User Manual [Previous]  [Next] ZedUmple for ZedUmple language support for the Zed editor, providing syntax highlighting, diagnostics, code completion, and go-to-definition for InstallationThe extension is not yet available on the Zed marketplace. For now, install it manually as a dev extension:
The extension automatically downloads the LSP server and Umple compiler — no manual setup required beyond the clone. Prerequisites
Features
How It WorksThe extension automatically installs Configuration (optional)You can adjust certain settings using Settings … / Open Settings (cmd ,) or by editing the Configuration settings for usersBy default lines of Umple code that have errors or warnings are underlined; you can see the error or warning at the bottom of the screen if you click on the underlined text. However, if you would like such messages from the Umple compiler to appear inline (on the line where each problem occurs), then you can change the Languages & Tools / Diagnostics / Enabled setting to be true. You can also do this by adding the following to the settings.json file. {
"diagnostics": {
"inline": {
"enabled": true
}
}
}
Configuration settings for developers working on the Umple LSP serverFor development, you can override the auto-downloaded server with a local build. Add to your Zed {
"lsp": {
"umple-lsp": {
"settings": {
"serverPath": "/path/to/umple-lsp"
}
}
}
}
This points to a locally cloned and built umple-lsp repository. UpdatingSince this is installed as a dev extension, pull the latest changes and Zed will pick them up: cd umple.zed git pull Then restart Zed or reload the extension. TroubleshootingExtension fails to compile (“failed to compile Rust extension”)Zed compiles extensions to WebAssembly ( # Remove Homebrew rust if installed brew uninstall rust brew install rustup # Or install rustup directly via [rustup](https://rustup.rs/) LSP server not startingCheck View > Toggle Language Server Logs in Zed for errors. Common issues:
No diagnosticsDiagnostics require Java 11+. Check the LSP logs (View > Toggle Language Server Logs) for errors related to LicenseMIT Original markdown source for this page: https://github.com/umple/umple.zed/blob/master/README.md |