Skip to content

Commit

Permalink
Add RubyMine plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
andyw8 committed May 29, 2024
1 parent fb8bb23 commit 016eb56
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions EDITORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -132,14 +133,18 @@ 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)

[Zed has added support for Ruby LSP as a alternative language server](https://github.com/zed-industries/zed/pull/11768) in version v0.0.2 of the Ruby extension.

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)

0 comments on commit 016eb56

Please sign in to comment.