Early Access Program News

RubyMine 2022.1 EAP is Open!

The first Early Access Program of 2022 has started! As always, you are welcome to try the new features before the official release, and we are looking forward to hearing your feedback.

RubyMine 2022.1 EAP

Here are the main highlights of the first EAP build:

  • Ruby and RBS
  • YARD support
  • Redesigned New Project dialog

      Ruby and RBS

      Support for new language features

      In v2022.1, we are adding support for the new language features introduced in Ruby 3.1 and RBS. Here are the new features included in the first EAP build:

      • Support for anonymous block argument forwarding. The IDE will show an error if this feature is used in any Ruby version before 3.1 or if there is no containing method that declares an anonymous block.
        Anonymous block forwarding
      • Support for generic type aliases added in RBS 1.8.
      • Support for resolve logic for RBS superclasses, which has been updated to make it consistent with Ruby: RUBY-29164.
      • Some small updates for one-line pattern matching, which is no longer experimental in Ruby 3.1. For example, this build adds support for nameless wildcards (* and **): RUBY-29131.

      New inspections

      This build adds several new inspections which check the usage of type variables in RBS.

      Invalid type argument usage. This inspection works similarly to the rbs validate command for the “Incorrect variance” errors. It reports type variables used as arguments in locations that their variance does not allow, so long as they are not marked as unchecked.

      Invalid type argument usage

      Conflicting type variable variance. If there are several partial declarations of a class or a module, then their type variables must match in variance (in, out, or unchecked) between the declarations. The inspection checks if there are any mismatches.

      Conflicting type variable variance

      Incorrect type argument variance. This inspection reports cases when type arguments passed to an inheritance statement don’t match in variance with the declaring type variable.

      Incorrect type argument variance

      Tip: You can find full descriptions of the inspections mentioned above in Preferences/Settings | Editor | Inspections | RBS.

      Inspection descriptions

      YARD support

      Improved autocompletion for the @overload tag

      RubyMine understands the @overload tag and will suggest all of the declared overloads when showing parameter information.

      Starting with this version, autocompletion for the @overload tag adds the name of a method that you are describing.

      Improved autocompletion for the @overload tag

      Redesigned New Project dialog

      In this release, we are working on improving the New Project dialog.

      The first IDE to implement the new design is IntelliJ IDEA 2022.1 EAP. If you are using it with the Ruby plugin, you can already check out the new version of New Rails Application and New Gem dialogs.

      New Rails Application dialog

      RubyMine 2022.1 EAP1 comes with only the updated New Gem dialog, but other improvements are on their way.

      What do you think of the new design? Let us know in the comments or via your IDE’s Main menu | Help | Submit feedback action.

      New Gem dialog

      Early Access Program Key Facts

      • The EAP version of RubyMine is free to use. It will expire in 30 days.
      • You will have to log in to your JetBrains account to use this build.
      • This is pre-release software, and it may not work as intended.
      • You can install the EAP version alongside a stable version of RubyMine.
      • EAP versions of RubyMine report statistics by default. These statistics help us improve user experience. You can opt-out by changing the settings in Preferences/Settings | Appearance & Behavior | System Settings | Data Sharing.
      • EAP versions have their own documentation as well.

      Join the Early Access Program

      You are welcome to download the latest EAP build from our website or via the Toolbox app. The full list of closed tickets in this EAP build is in the release notes.

      DOWNLOAD RUBYMINE 2022.1 EAP

      To learn about the newest features as they come out, please follow RubyMine on Twitter. We post product news and tips several times a week.

      We encourage you to share your thoughts in the comments below and to create and vote for features in the issue tracker.

      Happy developing!
      The RubyMine team

    image description