RubyMine
Whats up everybody!
We’re glad to announce that the brand new RubyMine model is now out there. You may obtain it from our web site, through the free Toolbox App, or by utilizing snaps for Ubuntu.
Beginning with RubyMine 2024.2, you now not want to put in language help plugins for those who use your IDE in Chinese language, Korean, or Japanese. These language packages now come bundled with the IDE out of the field.
One other massive enchancment is that the brand new UI has turn out to be the default in RubyMine 2024.2. You may be taught extra on this devoted weblog publish.
In relation to new options, we’ve got some thrilling updates, together with Stimulus help, Rails updates, AI completion enhancements, customized RuboCop configurations, and extra. Under one can find an summary of essentially the most notable options. For an in depth description of this launch, go to our What’s New web page.
Stimulus
RubyMine 2024.2 presents built-in help for Stimulus, which incorporates code completion, navigation, and the Rename refactoring. The Stimulus plugin is bundled with RubyMine and works in .erb
information.
Rails
Completion for Kamal configuration information
RubyMine now supplies code completion for Kamal configuration information. When enhancing deploy.yaml
and .env
information, you’ll see completion strategies for Kamal-specific properties.
Code perception for fee limiting
Rails 8 introduces the rate_limit operate to be used with controllers. To boost your expertise with this performance, we’ve carried out code perception for it, together with code highlighting and completion.
Code perception for browser guards
In RubyMine 2024.2, we’ve added code perception for the browser guard methodology. This consists of highlighting for the allow_browser
operate, in addition to completion for browser names and solely
arguments.
Mannequin validations and callbacks within the Rails Construction view
You may view mannequin validations and callbacks within the Construction view and conceal them if wanted. Moreover, callbacks are proven for sure syntax, resembling makes use of of the after_create
key phrase or methodology.
Ruby
RubyMine now checks the configured Ruby SDK on venture opening and suggests choosing a related SDK if one which matches the module configuration information is already put in. If you’re utilizing rbenv, RVM, or asdf, RubyMine will counsel putting in the suitable model of the Ruby SDK based mostly on the configuration information in your venture.
AI Assistant
Inline AI-based completion on the finish of traces
AI Assistant’s completion characteristic can now be activated on the finish of traces with content material, which means it really works after .
(as in str.<caret>
), ::
, and binary expressions.
Higher multiline code completion
The prompts for multiline code completion now request particular technical particulars, permitting it to offer extra related strategies. These particulars embody the Ruby model in use, whether or not you’re working in a Rails or Gem venture, the take a look at framework in use, the title of the present file, and the 5 hottest gems within the venture.
Improved Rails context
AI Assistant works extra successfully with the context of Rails functions. For instance, once you request a code rationalization for a controller, AI Assistant now takes the corresponding mannequin and routes under consideration.
Completion for Ruby-related instructions within the new terminal
The brand new terminal supplies automated completion for instructions, choices, subcommands, arguments, and extra. In RubyMine 2024.2, we’ve added completion for the next instructions: ruby
, rails
, rake
, bundle
, rbenv
, irb
, pry
, rbs
, and rspec
.
Customized RuboCop configurations
In Settings | Instruments | RuboCop, now you can choose a customized RuboCop configuration file. RubyMine passes the trail to your configuration file as a RuboCop command argument with the --config
choice, which ensures it really works with distant SDKs.
Instantly run and debug TypeScript information
Now you can run and debug TypeScript information with none extra setup. You may execute them from completely different entry factors, together with the file context menu, the Run widget, and the Present File configuration.
Bun as a JavaScript framework for Rails initiatives
When creating a brand new utility with a Rails model of seven.1.0.beta1 or later, now you can specify Bun because the JavaScript framework.
Markdown rendering in reader mode and fast documentation
We’ve made Markdown rendering out there in reader mode and fast documentation popups. This performance will work if a file has the # :markup: markdown
directive firstly or if the venture root has an .rdoc_options
file with the road markup: markdown
in it.
To be taught in regards to the latest options as they arrive out, please comply with RubyMine on X.
We encourage you to share your ideas within the feedback under and to create and vote for brand new options within the difficulty tracker.
Pleased growing!
The RubyMine staff
Subscribe to RubyMine Weblog updates