diff --git a/EDITORS.md b/EDITORS.md index a17741af37..5734d4d3ca 100644 --- a/EDITORS.md +++ b/EDITORS.md @@ -17,7 +17,8 @@ new H2 header in this file containing the instructions. --> - [Emacs Eglot](#Emacs-Eglot) - [Neovim LSP](#Neovim-LSP) - [Sublime Text LSP](#sublime-text-lsp) -- [Zed](#zed-some-limitations) +- [Zed](#zed) +- [RubyMine](#RubyMine) ## Emacs Eglot @@ -132,7 +133,7 @@ To configure the Ruby LSP using [LSP for Sublime Text](https://github.com/sublim Restart LSP or Sublime Text and `ruby-lsp` will automatically activate when opening ruby files. -## Zed (some limitations) +## Zed [Setting up Ruby LSP](https://github.com/zed-industries/zed/blob/main/docs/src/languages/ruby.md#setting-up-ruby-lsp) @@ -140,6 +141,10 @@ Restart LSP or Sublime Text and `ruby-lsp` will automatically activate when open See https://github.com/zed-industries/zed/issues/4834 for discussion of the limitations. -## RubyMine (not yet supported) +## RubyMine -Although there is overlap between the features provided by RubyMine and Ruby LSP, there may be benefits in using both together. RubyMine has a [LSP API](https://blog.jetbrains.com/ruby/2023/07/the-rubymine-2023-2-beta-updated-ai-assistant-lsp-api-for-plugin-developers-and-more/), so adding support would involve writing a plugin using Kotlin. The [rubymine-sorbet-lsp](https://github.com/simoleone/rubymine-sorbet-lsp) project may be a useful reference for this. +You can use the Ruby LSP with RubyMine or Intellij Ultimate through the following plugin. + +Note that there might be overlapping functionality when using it with RubyMine, given that the IDE provides similar features as the ones coming from the Ruby LSP. + +[https://plugins.jetbrains.com/plugin/24413-ruby-lsp](Ruby LSP plugin)