RubyMine
RubyMine 2024.3 is now obtainable!
The most recent model of JetBrains’ IDE for Ruby and Ruby on Rails comes with Rails 8 assist, together with Kamal 2 code completion, nilability annotations from schema.rb for kind assist, and Stable Queue and Stable Cache code insights.
Enhanced by JetBrains AI Assistant, RubyMine now presents quicker and extra contextually conscious cloud-based code completion, inline AI prompts, and extra context about Rails purposes for unit take a look at era.
With built-in integration with the RBS Assortment, you may profit from the kind signatures included within the RBS Assortment even when you don’t use RBS in your undertaking. RubyMine 2024.3 additionally consists of Ruby 3.4 updates, bundled spelling and grammar checks from Grazie, and far more!
Under is a short overview of probably the most notable options. For an in depth description of this replace, please go to our What’s New web page.
You will get the brand new construct from our web site or through the free Toolbox App.
Rails 8 assist
Kamal 2 assist
Rails 8 supplies assist for deploying your purposes with Kamal 2, and in RubyMine 2024.3, we’ve carried out code completion for Kamal 2 configurations.
Nilability annotations from schema.rb
for kind assist
RubyMine now acknowledges the not-null
kind modifier for migration attributes and supplies highlighting and warnings for incorrect nil
assignments.
Code perception for Stable Queue and Stable Cache
In RubyMine 2024.3, queue_schema.rb
and cache_schema.rb
information now function particular icons and syntax highlighting.
AI Assistant
Enhanced cloud-based code completion
RubyMine 2024.3 introduces quicker and extra contextually conscious cloud-based code completion by means of the JetBrains AI Assistant plugin, that includes high quality and pace enhancements and including assist for multiline completion.
Powered by the Mellum massive language mannequin (LLM), completion latency has been almost reduce all the way down to one-tenth of what it was in earlier variations, which suggests recommendations are nearly immediate. The acceptance charge for completion recommendations has roughly doubled, whereas the cancel charge has dropped to between half and a 3rd of what it was within the earlier model.
Please notice that cloud-based code completion in AI Assistant is on the market solely with an AI Professional subscription or an energetic free trial.
Inline AI prompts
RubyMine 2024.3 introduces inline AI prompts, providing a seamless option to work together with AI Assistant straight within the editor. You may kind requests in pure language, which AI Assistant immediately interprets and converts into code modifications, marked with purple within the gutter for straightforward monitoring. Inline AI prompts are context-aware, mechanically together with associated information and symbols for extra correct code era.
This function is at the moment solely obtainable in *.rb
information.
Improved Rails context for unit checks
RubyMine now supplies AI Assistant with extra context about Rails purposes for higher unit take a look at era.
Constructed-in integration with the RBS Assortment
RubyMine now options built-in integration with the RBS Assortment, a community-managed assortment of RBS information for gems that don’t embrace signatures.
Even when you don’t use RBS in your undertaking, you may nonetheless profit from the kind signatures included within the RBS Assortment, with no further effort required. RubyMine will mechanically obtain and handle the kind signatures for the undertaking dependencies.
Means to make use of it
as an alias for numbered parameters in blocks
RubyMine now acknowledges it
as an alias for _1
in blocks with out parameters, offering kind assist and conversion intentions for such usages.
We added a brand new error annotation that stops you from utilizing it
in a block with common numbered parameters.
Assist for Ruby 3.4 “chilled” strings
RubyMine now acknowledges “chilled” strings, a brand new transitional state for string literals in Ruby 3.4. In tasks with out the frozen_string_literal
pragma, strings are “chilled”. A “chilled” string will output a warning when modified; in contrast to a frozen string, it is not going to throw an error.
Error annotations for ambiguous nameless arguments
RubyMine now shows an error whenever you attempt to use nameless block, relaxation, and key phrase relaxation arguments in an ambiguous nested context.
Bundled spelling and grammar checks
The Grazie plugin is now obtainable in RubyMine out of the field. It supplies clever checks past easy spelling errors and typos. It understands grammar guidelines and may warn you about inappropriate type. Grazie checks can be found in strings, HereDocs, feedback, block feedback, and RDoc information.
You may handle Grazie checks in Settings | Editor | Pure Languages | Grammar and Model | Scope.
To be taught concerning the latest options as they arrive out, please observe RubyMine on X.
We invite you to share your ideas within the feedback beneath and to recommend and vote for brand new options within the subject tracker.
Blissful creating!
The RubyMine group
Subscribe to RubyMine Weblog updates