Early Access Program

RubyMine 2022.2 EAP2

The second 2022.2 EAP build is now available! Here are the build highlights:

Improved support for retrieving types from unknown classes in RBS

Previously, we only provided types for an object if its class had an RBS signature. If there was no corresponding RBS signature, we could only retrieve the types of methods from Object.

We’ve improved type inference for unknown classes, so RubyMine will now look up the types for methods from all known ancestors from Ruby, not just Object.

This feature is especially useful when using classes and modules from the standard library in the ancestry of your own classes.

New option to exit line comment continuation

This version adds the new option to delete an empty comment line by pressing Enter. To enable the option, toggle the Delete empty line comment with Enter checkbox in Preferences / Settings | Advanced Settings | Ruby.

Use ⇧⏎ on macOS or Shift+Enter on Windows to insert an empty comment line.

Open Gemfile from a RuboCop suggestion

Now you can open your Gemfile and add the RuboCop gem right from the Notifications tool window. When you see the Set up RuboCop suggestion in the Notifications tool window, click Add.

Improved rendering of YARD docs

Check out the updated look and feel of YARD comments and tags when rendering them in the editor. We tidied up indentation and styles to make code documentation inside the IDE more uniform.

In this EAP, we’ve also fixed a bunch of inspection problems (RUBY-28714, RUBY-29700, RUBY-29507, RUBY-29698) and the issue with the browser preview links from views (RUBY-15328).

Join the Early Access Program

You can 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.

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 new features in the issue tracker.

Happy developing!

The RubyMine team

Discover more