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 trying ahead to listening to your suggestions.
Listed below are the principle highlights of the primary EAP construct:
Debugger
We’ve improved RubyMine’s debugger to make it extra sturdy for Ruby 3 and onward. Beginning with this EAP, you need to have the ability to debug your Ruby 3 and up code with none main points whereas utilizing all the flowery options supplied within the GUI, corresponding to stepping by way of the code, evaluating expressions, and so forth. We additionally fastened points within the earlier debugger implementations, so in case you are operating an older model of Ruby (under 3.0), you need to have the ability to debug your code in RubyMine simply effective as effectively. No further motion is required, because the IDE will robotically recommend an appropriate debugger implementation.
We ran some inside checks to learn the way effectively the brand new RubyMine debugger performs when operating 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 fluctuate insignificantly relying on the OS, machine CPU, and the variety of breakpoints set.
The essential factor is that, when debugging setups which have two breakpoints or extra, the brand new RubyMine debugger is about 5 occasions quicker than the earlier one for Ruby 3, which used an open-source implementation:
In keeping with our stats and surveys, RubyMine’s debugger is without doubt one of the most used options amongst our skilled customers. In the event you aren’t utilizing it but, we strongly recommend you take a look at one of many following tutorials:
RBS
On this launch, we’ve continued to enhance our RBS assist. Beginning with this model, RubyMine’s code perception now checks inline public
and non-public
visibility modifiers to find out the visibility of attribute and technique declarations. We’ve additionally added per-method visibility modifiers to the construction view:
As for different modifications associated to RBS, we’ve added a method to exit line remark continuation in RBS by urgent Enter
, or proceed commenting by urgent Shift+Enter
. You will discover particulars about this enchancment within the associated ticket: RUBY-28211.
Code perception for rightward assignments
You’ll uncover that code perception options, corresponding to navigation between entities, the Rename refactoring, and Discover Usages, now work for pattern-matched native variables:
Clickable hyperlinks in server growth logs
Rails builders will respect that they will lastly click on hyperlinks for Controller#motion
and View
references to navigate to the corresponding recordsdata. The identical function shall be added for Routes
very quickly (RUBY-29488).
New Undertaking dialog
Once you create a brand new undertaking in RubyMine 2022.2, you will note that the New Undertaking dialog appears a bit completely different. We’ve moved a pair fields round in undertaking sorts, put Title and Location in separate fields, and added further icons to comply with the newest design patterns of JetBrains instruments:
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 varied SDKs human-readable and never get confused when selecting between them:
Characteristic deprecation plans
This launch marks the start of the secure 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 sort. For extra particulars concerning these selections, see this separate announcement.
Bug fixes
As at all times, we’ve fastened quite a lot of points, corresponding to:
- Efficiency points when typing in massive recordsdata (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 part of the Early Entry Program
You’re welcome to obtain the newest EAP construct from our web site or through the Toolbox app. The total record of closed tickets on this EAP construct is within the launch notes.
To study concerning the latest options as they arrive out, please comply with RubyMine on Twitter. We publish product information and suggestions a number of occasions every week.
We encourage you to share your ideas within the feedback under and to create and vote for options within the situation tracker.
Pleased creating!
The RubyMine workforce