RubyMine 2023.2 EAP2: New UI updates, improved Rails 7 and RBS support 

The second EAP version of RubyMine 2023.2 is now available, and you can download the latest build either from our website or through the free Toolbox App

Here are some of the key improvements you’ll find. 

Rails 7

Support for turbo-rails completion

We’ve updated turbo-rails code completion and insight for models, controllers, and views, allowing you to define model-specific Turbo Stream templates that provide real-time updates to the client side when the model is created, updated, or deleted. With Turbo for Rails, you can use code completion in your models to access Turbo-Stream-specific methods. 

Import Maps support

We’ve implemented support for using importmaps with Ruby and Ruby on Rails code. Here is what we’ve implemented:

  • Run anything for importmap and its subcommands.
  • Scope context for the config/importmap.rb file. This means that self now has the correct type and that autocompletion and resolve are now available for the pin and pin_all_from methods.
  • Basic declaration and reference support for importmap modules within ruby code. Go to declaration, as well as Find usages to and from declarations and references, now works for importmap modules.
  • File references in the pin and pin_all_from calls in config/importmap.rb. The file references are now present for the pinunder argument (pin ‘my_module’, under: ‘<caret>’), and for the first argument in pin_all_from(pin_all_from ‘<caret>’). Additionally, completion and resolve are now available for these arguments.

New UI updates

We are continuing to improve the new UI, and we aim to release it out of Beta in version 2023.2. We appreciate your feedback and will make further improvements accordingly.

New hamburger menu in the main toolbar for Windows and Linux

One notable change is the reworking of the hamburger menu in the main toolbar for Windows and Linux. In the new UI, we have refined the behavior of the menu. Now, when you click on the menu icon, the menu elements will appear horizontally over the toolbar. This provides a more intuitive and streamlined experience.

Additionally, we have added the option to convert this menu into a separate toolbar. To enable this feature, navigate to View | Appearance | Main menu as a Separate Toolbar. By selecting this option, the menu will be displayed as a distinct toolbar, offering an alternative layout for easier access to its elements.

Updated window controls on macOS 

When working on macOS in full screen mode using the new UI, the window controls are now displayed right in the main toolbar – not in the floating bar as before.

Class and module aliases formatting in RBS

Formatting functionality is now available for the class and module aliases:

The full list of improvements in this version is available in the release notes.

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

We’d love to hear more about your experience with RubyMine. Schedule a 40–60 minute call with us to discuss and answer your questions!

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

Happy developing!

The RubyMine team

image description