ameba-ls

language server for the ameba linter for crystal lang

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 Ameba and Crystal lang releases.

ameba-ls Ameba Crystal Lang
0.1.0 1.6.4 1.15.1

The latest release can be downloaded from GitHub or built from source.

Build from source

$ git clone https://github.com/crystal-lang-tools/ameba-ls
$ cd ameba-ls
$ make ameba-ls
$ 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.

Sublime

Install the Sublime LSP package and configure it to use ameba-ls:

{
	"clients": {
		"ameba-ls": {
			"command": [
				"ameba-ls"
			],
			"selector": "source.crystal",
			"enabled": true,
		},
	},
}

Contributing

  1. Fork it (https://github.com/nobodywasishere/ameba-ls/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

Repository

ameba-ls

Owner
Statistic
  • 6
  • 0
  • 1
  • 0
  • 2
  • 5 days ago
  • March 16, 2025
License

MIT License

Links
Synced at

Mon, 31 Mar 2025 09:32:22 GMT

Languages