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
- New option to exit line comment continuation
- Open Gemfile from a RuboCop suggestion
- Improved rendering of YARD docs
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
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
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.
Join the Early Access Program
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.
The RubyMine team