RubyMine 2021.3 EAP3: Performance Improvements, New RBS Inspections, and Reworked Bookmarks
The third build of the RubyMine 2021.3 Early Access Program is now available!
Here are the most notable updates:
Editor performance improvements
In this release, we are working on performance improvements for the code editor. Actions like opening files, typing, invoking code completion, and applying quick-fixes now work faster.
This is only slightly noticeable on average-sized project files, but it is much more apparent when working with large files (around 2,000 lines of code or more). Here’s an example:
New inspections for RBS files
This build includes a number of new inspections for RBS code:
- Dynamic type used in static context: this reports usages of dynamic types (instance, class, and self) in static contexts. You can apply a quick-fix to replace the dynamic keyword type with its static equivalent.
- Unnecessary parentheses: if a function has no parameters and thus does not require parentheses, you will see a quick-fix offering to remove them.
- Simplifiable boolean union: this inspection will warn you about uses of
true | falsein a union. A quick-fix is available for replacing it with
- Unused entities: these inspections work for unused type aliases, interfaces, and type variables in methods. RubyMine will check whether an entity has no usages, and if it doesn’t have any, RubyMine will suggest removing it.
- Invalid method overload: RubyMine will display an error on methods that are declared as overloaded if there are no other overloading definitions of the method.
Previously, RubyMine had two very similar features – Favorites and Bookmarks. The difference could sometimes be confusing, so we decided to stick to just one – Bookmarks.
You can bookmark files, directories, and certain lines of code. To add a bookmark, just use the shortcut: F3 on macOS or F11 on Windows / Linux.
Bookmarks are located under the Bookmarks tool window (⌘ 2 / Alt+2). By default, RubyMine puts them in the node named after your project. You can create your own nodes and drag bookmarks between them. You can also create custom names for bookmarks and nodes.
By default, new bookmarks appear at the top of the default node. You can drag and drop them or sort them alphabetically using the Sort Groups and Bookmarks option in the tool window settings.
You may be wondering what’s going to happen with the Favorites tool window. It’s currently available in RubyMine, but we plan to get rid of it later once we fully merge it with the new Bookmarks.
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…