RubyMine 2020.2 EAP4: Improved Completion, Support for Git Installed in WSL2, and More
RubyMine 2020.2 EAP4 is now available! Here are the main highlights in this build:
- Improved completion for standard library methods
- New intention action to sort hashes by their keys
- Support for Ruby 2.7 beginless ranges
- Support for Git installed in WSL2
Improved completion for standard library methods
We’ve improved completion for many of the common standard library methods (such as
Hash#each, and many others). RubyMine will now suggest more accurate methods in completion.
For example, the completion will now recognize the key and value types of a hash and suggest methods based on them:
New intention action to sort hashes by their keys
We’ve added a new intention action that sorts items in a hash alphabetically by key:
This intention action also works for hashes with different key types too. In this case, the keys are grouped by their type and then sorted. However, it’s not available for hashes that contain a hash deconstruction, as this would change the semantics of the code.
Support for Ruby 2.7 beginless ranges
RubyMine now correctly recognizes beginless ranges (introduced in Ruby 2.7). It will also show a warning if a beginless range is used in Ruby 2.6 or below.
Support for Git installed in WSL2
WSL is becoming an important part of the development process on Windows and we are working on supporting all the necessary workflows in our IDEs.
The upcoming RubyMine 2020.2 now supports Git installed in WSL2 for working with projects located in Linux or Windows file systems.
The IDE can switch between Git executables depending on the project location. When a project is opened from WSL (via \wsl$ path), the IDE will not only automatically switch to Git from WSL but it will also provide you with the ability to use all the Git-related features in the IDE.
Please note that the upcoming RubyMine 2020.2 allows you to use Git only from WSL2, which is available in the May update of Windows 10, version 2004. The IDE will not support WSL1 because, unfortunately, Git from WSL1 does not return output reliably when called from Windows, and this could lead to incorrect results from Git commands – see IDEA-242469 and the corresponding WSL request.
Early Access Program Key Facts
- The EAP version of RubyMine is free to use. It will expire 30 days after the release of the build.
- This is pre-release software, and it may 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 of reporting the statistics by changing the settings in Preferences/Settings | Appearance & Behavior | System Settings | Data Sharing.
- EAP versions 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 want to see using our issue tracker.
The RubyMine team
Subscribe to Blog updates
Thanks, we've got you!
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…
RubyMine 2023.1 EAP5 Is Out!
Hello everyone, RubyMine 2023.1 EAP5 is now available! Below you can find the most notable features in this build. We encourage you to try them out and share your feedback in the comments or in our issue tracker. Migration of Ruby code to the Symbol API In order to improve code insight actions such…