ameba-ls v0.2.0
Ameba LS
Language server for the Ameba linter for Crystal lang.
Supports reporting issues while typing, and correcting issues via code actions. Does not require ameba be installed.

Installation
Each release corresponds to an Ameba release.
| Ameba LS | Ameba |
|---|---|
| 0.2.0 | 1.7.0 |
| 0.1.0 | 1.6.4 |
The latest release can be downloaded from GitHub or built from source.
Homebrew
$ brew tap crystal-ameba/ameba
$ brew install ameba-ls
Build from source
$ git clone https://github.com/crystal-ameba/ameba-ls
$ cd ameba-ls
$ make
$ cp ./bin/ameba-ls ~/.local/bin # or somewhere else in PATH
Usage
Zed
The latest version of the Zed Crystal extension has support for ameba-ls if it's installed in PATH.
If you want to use the ameba-ls alone, use the following config:
{
"languages": {
"Crystal": {
"language_servers": ["ameba-ls"],
"formatter": {
"external": {
"command": "crystal",
"arguments": ["tool", "format", "-"],
},
},
"format_on_save": "on",
}
}
}
Sublime Text
Install the Sublime LSP package and configure it to use ameba-ls:
{
"clients": {
"ameba-ls": {
"command": [
"ameba-ls"
],
"selector": "source.crystal",
"enabled": true,
},
},
}
Logging
Warnings and errors are logged to the client by default. Set the LOG_LEVEL environment variable of the server (e.g. to info or debug) for more detailed logs, which include every message exchanged with the client.
Contributing
- Fork it (https://github.com/crystal-ameba/ameba-ls/fork)
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
Contributors
- Margret Riegert - creator and maintainer
- Sijawusz Pur Rahnama - contributor, maintainer
ameba-ls
- 50
- 2
- 6
- 0
- 2
- 4 days ago
- March 16, 2025
MIT License
Sun, 22 Nov 2026 01:23:54 GMT