RubyMine 2022.3 Released!
RubyMine 2022.3 is now available!
The latest version of our popular Ruby and Rails IDE is packed with improvements, including:
- A new UI that you can enable in the settings
- Enhanced RBS support
- Improvements for working with shared contexts and examples in RSpec
- Updated navigation and structure view functionality
- Improved remote development
Below is a brief overview of the most notable features. For a detailed description of this update, please visit our What’s New page.
We invite you to try out the new RubyMine UI.
It provides easy access to essential features and progressively discloses complex functionality as needed, resulting in a cleaner look and feel that is more modern and powerful. You can switch to the new UI in Settings | Appearance & Behavior | New UI (Beta).
Editing and adding method signatures to Ruby method definitions
We’ve made it easier to add and edit method signatures for Ruby method definitions. Now you can write a method definition with just one action, without any need to switch between your Ruby and RBS files.
You can use the quick-fix available for the Mismatched Type inspection or an intention action on the declaration’s name in a Ruby file to edit the method definition.
If a type signature is missing, you can add it using the quick-fix for the Missing Type Signature inspection.
Showing info from RBS in the Documentation Tool
Now you can view type information from RBS using the Quick Documentation popup (Ctrl+Q on Win/Linux or F1 on macOS). Press Ctrl+Q or F1 again to open this documentation in the Documentation tool window. If the method has an RBS signature, RubyMine will display information about the parameters and return the value in the documentation.
Structure view in Rails
ERB structure view
The way tags are displayed in the Structure tool window is now more convenient. We’ve improved readability and cleaned up extra entries.
RubyMine now displays database attributes at the very top of the Structure view tree, and they are enabled by default. This functionality is available in both the Structure tool window (⌘7 on macOS or Alt+7 on Windows) and the Structure popup (⌘F12 on macOS or Ctrl+F12 on Windows).
Quick navigation to tables
In RubyMine 2022.3 we’ve introduced the ability to view and navigate to specific database tables when browsing your schema.rb file. You can examine and quickly find a database table or table column using the Structure tool window (⌘7 on macOS or Alt+7 on Windows).
Shared contexts and examples in RSpec
Find Usages and Rename
Run shared examples in the context of referencing groups
We’ve added the option to specify the context for executing shared examples. Now when you run specs containing shared examples, RubyMine displays a dialog where you can choose which context they should be executed in.
Completion of shared context names
We’ve added support for completion options from any defined shared contexts and examples.
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 invite you to share your thoughts in the comments below and to suggest and vote for new features in the issue tracker.
The RubyMine team
Subscribe to Blog updates
Thanks, we've got you!
RubyMine 2022.2 Released
Hi all, RubyMine 2022.2 is now available! Below is a brief overview of the most notable features. For a detailed description of this update, please visit our What's New page. Support for Rails URLs With RubyMine 2022.2 you can click links in server logs for View, Route, and other references to navi…
RubyMine 2022.1.1 Is Available
Hi all, RubyMine 2022.1.1, the first bug-fix update for the current major version, is now available. You can update using the Toolbox App, right from inside the IDE, or by downloading RubyMine 2022.1.1 from our website. With this update we fixed the issues that were caused when Rails 3 support wa…
RubyMine 2022.1 Released
Hello everyone, RubyMine 2022.1 is now available! Below is a brief overview of the most notable features. For a detailed description of this update, please visit our What’s New page. Support for new language features RubyMine 2022.1 includes support for most of the new Ruby and RBS features introdu…
RubyMine 2021.3.2 Is Available
RubyMine 2021.3.2 is now available! You can update using the Toolbox App or right from inside the IDE. You can also download RubyMine 2021.3.2 from our website. Bug-fixes You’ll find the following important fixes in this update: Fixed the problem causing the IDE to freeze when indexing a WSL pro…