RubyMine 2022.3 EAP Is Open!
Hello everyone,
Welcome to the third Early Access Program of 2022! As always, we encourage you to try the new features before the official release, and we’re looking forward to your feedback.
In this build, we smartened up our existing Rails features and supported some new ones. Let us know what you think in the comments or by selecting Main menu | Help | Submit feedback in your IDE.
Here are the highlights of the first 2022.3 EAP build:
A new inlay hint for controller actions
We’ve added inlay hints above each controller action with a URL that links to the action.
Clicking an inlay hint opens the list of available actions for the URL:
- Go to declaration or usages: navigates you to the declaration in the
routes.rb
file. - Generate request in HTTP Client: creates a new request in the HTTP Client.
- Show all endpoints of module: provides an aggregated view of the module’s APIs in the Endpoints tool window.
To enable or disable the URL path inlay hints, go to Settings/Preferences | Editor | Inlay hints and toggle the URL path checkbox.
Structure view changes
Quick navigation to tables in the structure view of schema.rb
In this EAP, we’re introducing 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).
Better ERB structure view
Another structure view update is also coming for ERB files. We’ve polished the way tags are displayed in the Structure tool window, increased their readability, and cleaned up extra entries.
ActiveRecord structure view
In the structure view, RubyMine now displays database attributes at the very top of the tree, and they are enabled by default. You can check out this functionality 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).
Additionally, you can now navigate from a model file to the corresponding table in the Database tool window by using the Select In action (⌥ F1 on macOS or Alt + F1 on Windows).
Improved support for Rails fixtures
We’ve refined coding assistance for working with Rails fixtures in RubyMine. This includes code completion in Ruby and YAML files, the rename refactorings, search for usages, and more.
Support for UUID
You can now specify UUID as a column type in migration files and schema. RubyMine recognizes it as an attribute with the String
type.
Project Wizard enhancements
In this release cycle, we’re continuing to polish the New Project dialog. When creating a new Rails project, you will see its path right under the Location field. We’ve also updated the Rails version field so it is now easier to install the necessary version of the Rails gem using the plus icon.
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 available 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