RubyMine 2021.2 Beta
RubyMine 2021.2 Beta
RubyMine 2021.2 Early Access Program has reached beta! Here are the highlights of this build:
- Web and Frameworks
You can now sign your commits with a GPG key to secure them. You can enable this feature via Preferences / Settings | Version Control | Git.
If it’s your first time using a GPG key, you’ll need to configure it. To use an existing preconfigured GPG key, you can select it from the drop-down list.
Changelists renamed to Changes in new projects
Default Changelists was the name for the node that stores all uncommitted changes. In v2021.2, we’ve renamed it to Changes to make it more precise and readable. This update will affect all your new projects.
Changelists are not created automatically for Git operations
RubyMine will no longer add changelists automatically for Git operations. For example, a cherry-pick won’t trigger the creation of a changelist.
If you prefer automatic creation over the new behavior, you can switch back to it in Preferences/Settings | Version Control by ticking the Create changelists automatically checkbox.
Increased minimum supported Git version
The oldest version of Git supported by your IDE is now v2.17. We’ve increased the minimum supported version because 2.17 is the oldest version that still receives security updates.
Web and Frameworks
Support for TypeScript types in JSDoc
RubyMine now properly supports the TypeScript syntax used within JSDoc comments in
Support for some syntactic constructs, such as union types, has already been available for a while. With this release, RubyMine recognizes more syntactic constructs and comes with reworked and expanded support, as well as a lot of bug fixes.
For example, optional properties in
@typedef declarations are now supported.
Auto-imports for CommonJS modules
This improvement is for Node.js users.
RubyMine now adds missing import statements for CommonJS modules. Required imports will be inserted on code completion, similarly to how it works for ES6 symbols.
Whenever the IDE isn’t sure what syntax should be used in a file, it will display a popup allowing you to choose between ES6 and CommonJS.
Rename refactoring for React useState hooks
You will no longer need to waste time on refactoring
useState values and functions one by one in React hooks – RubyMine can now rename them for you.
To try this out, place the caret on a state value and invoke the Rename refactoring with ⇧F6 / Shift+F6 or by going to Refactor | Rename from the right-click context menu.
Support for classnames and clsx libraries
We’ve got another useful improvement for React users in this release.
RubyMine now supports popular classnames and clsx libraries, helping you deal with your CSS class names more efficiently. The IDE will show completion suggestions for your CSS classes and resolve all symbols in string literals and properties with literal names.
The IDE will show completion suggestions for strings as you type. To see completion suggestions for objects used within your
classNames functions, press ⌃Space / Ctrl+Space.
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.
We encourage you to share your thoughts in the comments below and to create and vote for features in the 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…