Shopify's open source language server for Ruby, with a VS Code extension
open sourceMITfree
Ruby LSP is Shopify's open source implementation of the language server protocol for Ruby: hover, go-to-definition, completion, references and rename, diagnostics and formatting, code actions, inlay hints, semantic highlighting and ERB support, with add-ons that extend it (for Rails among others). Its VS Code extension adds a dependencies view, Rails generator integrations, a debug client, version manager integration and a test explorer; Emacs, Neovim, Sublime Text and Zed can run the server too.
Problems it solves
- get go-to-definition and autocomplete for Ruby in my editor
- a Ruby language server that works with VS Code, Neovim and Zed
- run and debug my Ruby tests from VS Code's test explorer
Features
- Go-to-definition, completion, references and rename
- Diagnostics and formatting
- Semantic highlighting and inlay hints
- ERB support
- Add-ons
- VS Code test explorer and debug client
Alternatives
The same job
These do what Ruby LSP does.
- gopls The language server for Go
- Pyrefly A fast type checker and language server for Python, written in Rust
- Java Language Server A Java language server built on the Java compiler API, for VS Code, Vim, Emacs, Kate and Sublime
- TypeScript Language Server Language Server Protocol wrapper around TypeScript's tsserver
- Lua Language Server A language server for Lua with type checking, completion and diagnostics, written in Lua
- rust-analyzer Bringing a great IDE experience to the Rust programming language
