Tuesday, September 27, 2022
HomeRuby On RailsRubyMine 2022.2 EAP is Open!

RubyMine 2022.2 EAP is Open!


Early Entry Program

Hello everybody,

The Early Entry Program for the upcoming model 2022.2 of RubyMine is now out there. As at all times, you might be welcome to attempt the brand new options earlier than the official launch, and we’re wanting ahead to listening to your suggestions.

Listed here are the primary highlights of the primary EAP construct:

Debugger

We’ve improved RubyMine’s debugger to make it extra strong for Ruby 3 and onward. Beginning with this EAP, you must be capable of debug your Ruby 3 and up code with none main points whereas utilizing all the flowery options supplied within the GUI, reminiscent of stepping via the code, evaluating expressions, and so forth. We additionally fastened points within the earlier debugger implementations, so if you’re working an older model of Ruby (beneath 3.0), you must be capable of debug your code in RubyMine simply superb as properly. No further motion is required, because the IDE will routinely counsel an acceptable debugger implementation.

We ran some inside exams to find out how properly the brand new RubyMine debugger performs when working a easy Rails script in debug mode. We discovered that its efficiency is near the native Ruby 3 debugger, which our new debugger relies on. The outcomes differ insignificantly relying on the OS, machine CPU, and the variety of breakpoints set.

The vital factor is that, when debugging setups which have two breakpoints or extra, the brand new RubyMine debugger is about 5 instances quicker than the earlier one for Ruby 3, which used an open-source implementation:

debugger speed comparison

In keeping with our stats and surveys, RubyMine’s debugger is likely one of the most used options amongst our skilled customers. In the event you aren’t utilizing it but, we strongly counsel you try one of many following tutorials:

RBS

On this launch, we’ve continued to enhance our RBS help. Beginning with this model, RubyMine’s code perception now checks inline public and personal visibility modifiers to find out the visibility of attribute and methodology declarations. We’ve additionally added per-method visibility modifiers to the construction view:

rbs inline modifiers

As for different modifications associated to RBS, we’ve added a approach to exit line remark continuation in RBS by urgent Enter, or proceed commenting by urgent Shift+Enter. You’ll find particulars about this enchancment within the associated ticket: RUBY-28211.

Code perception for rightward assignments

You’ll uncover that code perception options, reminiscent of navigation between entities, the Rename refactoring, and Discover Usages, now work for pattern-matched native variables:

code insight for rightwards

Clickable hyperlinks in server improvement logs

Rails builders will recognize that they will lastly click on hyperlinks for Controller#motion and View references to navigate to the corresponding information. The identical function shall be added for Routes very quickly (RUBY-29488).

links in server logs

New Undertaking dialog

If you create a brand new challenge in RubyMine 2022.2, you will notice that the New Undertaking dialog appears to be like a bit completely different. We’ve moved a pair fields round in challenge sorts, put Identify and Location in separate fields, and added further icons to observe the most recent design patterns of JetBrains instruments:

updated new project dialog

Edit interpreter names

In the event you use completely different Rubies for various tasks, you’ll like the truth that now you can edit interpreter names within the Ruby SDK settings. We’ve added this function that will help you make numerous SDKs human-readable and never get confused when selecting between them:

edit interpreter names

Function deprecation plans

This launch marks the start of the protected deprecation of some older applied sciences and options, particularly Rails 3, the Rails View, the RCov gem, the Zeus, Spark, Nailgun pre-load servers, and the JRuby run configuration kind. For extra particulars concerning these choices, see this separate announcement.

Bug fixes

As at all times, we’ve fastened quite a lot of points, reminiscent of:

  • Efficiency points when typing in massive information (RUBY-29542).
  • The issue inflicting the built-in Rails console to generate odd characters and crash (RUBY-29509).
  • Undetected let variables in RSpec (RUBY-25222).
  • The absence of gutter mark icons in minitest specs (RUBY-24745).

Be a part of the Early Entry Program

You might be welcome to obtain the most recent EAP construct from our web site or through the Toolbox app. The total checklist of closed tickets on this EAP construct is within the launch notes.

DOWNLOAD RUBYMINE 2022.2 EAP

To study in regards to the latest options as they arrive out, please observe RubyMine on Twitter. We submit product information and ideas a number of instances per week.

We encourage you to share your ideas within the feedback beneath and to create and vote for options within the difficulty tracker.

Completely satisfied growing!
The RubyMine staff



RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments