YAML Code Formatter, chruby, asdf, and More in the Updated RubyMine 2018.2 EAP
RubyMine 2018.2 EAP (build 182.3208.25) is now updated and adds some major improvements. Let’s review those.
Asdf, chruby, and remote version managers
Support for Ruby version managers has been significantly reworked, which may result in some new issues (please report them if you face any). Nevertheless, the following major features have been added:
- chruby support [RUBY-14086]
- asdf support [RUBY-20370]
- All version managers (RVM, rbenv, asdf, and chruby) are now available in WSL, and also through SSH and other remote connections (Preferences / Settings | Languages & Frameworks | Ruby SDK and Gems | New remote)
- Rbenv-vars and other plugins now work correctly [RUBY-11581]
YAML code formatter
This means you can now reformat badly structured YAML code the same way you reformat any other code: go to Code | Reformat Code, or press ⌥⌘L / Ctrl+Alt+L:
By default, the IDE reformats all inconsistent code in a file. When a specific code chunk is selected, RubyMine will only reformat the selection, leaving the rest as is:
You can also choose how to fold and indent sequences, align values, and apply other code style options for YAML. Customize this in the settings: Preferences / Settings | Editor | Code Style | YAML:
The formatter will fix code based on your preferences. [RUBY-2185]
- Fixed the inability to run unit tests with spring [RUBY-19960]
- Syntax analysis and other Coffee JSX improvements (in progress)
- Sped up code autocompletion
Your 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…