RubyMine 2021.1 Goes Beta!
RubyMine 2021.1 reaches Beta! This build introduces new features for Ruby 3 and tests:
Important! RubyMine EAP builds are not fully tested and might be unstable.
RBS support and better code completion
We continue to implement support for Ruby 3. While RubyMine 2020.3 introduced basic support for the new Ruby 3 syntax, for the upcoming 2021.1 version we are focusing on supporting RBS.
First of all, RubyMine 2021.1 will use
.rbs files in its Code Insight. This means improved code completion for both Ruby’s standard library (as it comes with its own RBS definitions) as well as for user code with RBS definitions. You don’t even have to use Ruby 3.0 in your project, the only requirement is that you have the RBS gem included.
For example, thanks to the
.rbs declarations, in the example below RubyMine is able to define the type of the
book.title, and so it is able to suggest more relevant methods in code completion.
RubyMine also makes working with
.rbs files simpler by providing features like code highlighting and actions such as Go to Declaration, Find Usages, and the Rename refactoring.
The IDE will also display a warning if any of your
.rbs code refers to a nonexistent declaration.
Please note that our work to introduce support for RBS is still in progress. We plan to add more features in the upcoming 2021 releases. Please see the following tickets for more details: RUBY-27386, RUBY-27754, and RUBY-27755.
Run multiple tests in a run configuration
Sometimes you may want to run several tests that don’t belong to a single group like one
.rb file or a folder. For example, this may be the case if you have a number of flaky tests in various directories, or when you only need to run certain tests but don’t want to run them all.
Starting with v2021.1, you can hand-pick which test files to run. To do so, select the files in the Project view, right-click any of them and pick Run ‘<test names>’ from the context menu.
RubyMine will run the tests and display the results in the Run tool window. It will also create a temporary run configuration that you can customize and save for future use.
Early Access Program key facts
- The EAP builds of RubyMine are free to use. Each will expire in 30 days.
- This is pre-release software, and it might not work as intended.
- You can install the EAP version alongside a stable version of RubyMine.
- EAP versions of RubyMine report statistics by default. These statistics help us improve the user experience. You can opt out by changing the settings in Preferences/Settings | Appearance & Behavior | System Settings | Data Sharing.
- EAP builds have their own documentation as well.
Join the Early Access Program
To learn about the newest features as they come out, please follow RubyMine on Twitter. We post product news and tips several times a week.
As always, we encourage you to share your thoughts in the comments below and to create and vote for the features you would like to see in the issue tracker.
The RubyMine team
Subscribe to Blog updates
RubyMine 2024.1 Early Access Program is Open!
The RubyMine 2024.1 Early Access Program has now started! In this blog post, we’ll share our plans for the upcoming release and the areas we’re currently focusing on. The first EAP build includes performance and usability improvements, bug fixes, and updates to RBS language support.Now, you c…
RubyMine 2023.3 EAP Update
Hello everyone! We’re back with an update on the state of the 2023.3 Early Access Program. You can download the latest EAP build from our website, via the free Toolbox App, or by using snaps for Ubuntu. Here are the biggest highlights of this release: Performance improvements As we me…
The RubyMine 2023.3 Early Access Program Is Open!
Hello everyone, The third RubyMine Early Access Program of 2023 is underway! The key change in the first EAP build is an important indexing optimization. By refactoring our code base, we’ve doubled RubyMine’s indexing speed compared to v2023.1. This is particularly noticeable when working…
Performance Improvements in RubyMine 2023.1
Hello everybody, The new release is fast approaching, so it’s time to unveil the performance enhancements you can expect from RubyMine 2023.1. Faster code completion When developing and supporting RubyMine, we analyze a great load of anonymized usage data. A lot of recent data pointed to the fact t…