RubyMine 2018.1 Beta: Smarter and Faster
RubyMine 2018.1 Beta (build 181.4203.207) is out now and ready for your review! Earlier we told you about the new static analysis core engine that’s allowed RubyMine to understand and navigate your projects’ and Rails’ codebases better. These changes also had a great impact on the overall performance of RubyMine, which has become evident after fixing some bugs in the fresh 2018.1 Beta build.
- Faster RubyMine
- Comment out HTML and Ruby in .html.erb in one go
- Embedded diagrams in Markdown
- Other improvements
Performance improvements already were a major highlight of the v2017.3 release. Yet, we believe now we have pushed it to a whole new level, which is confirmed by our sample testing.
To check our progress, we inspected all `.rb` files located in Diaspora’s app directory for unresolved Ruby references (Code | Run Inspection by Name | Unresolved Ruby reference), which is quite a consuming task in terms of CPU and memory usage. We ran this inspection in a stable build of every major version starting from v2017.1 as we’ve been iterating over different performance improvements for a year now. Then we also ran it on the new 2018.1 Beta build. The results didn’t disappoint us:
The new 2018.1 Beta analyzes Ruby code two times faster than the current stable 2017.3.3 build, and 6 times faster than the older RubyMine v2017.1.5. While results may differ slightly depending on your machine and your projects, the dynamic pattern should persist, so we really encourage you to check out the new Beta!
Comment out HTML and Ruby in .html.erb in one go
The new build also lets you easily comment out both HTML and ERB tags the way an IDE is supposed to – with a common keyboard shortcut – ⌘ / | Ctrl+Slash:
This works when HTML and ERB tags follow each other, as well as when Embedded Ruby is wrapped in HTML, which you possibly do a lot in your view files. Related issue: RUBY-15663
Embedded diagrams in Markdown
Markdown preview now displays UML diagrams if you have them in your `.md` files. Insert `puml` (this code snippet is available by default in the autocompletion list) before the UML code, so that RubyMine identifies the syntax properly and displays the diagram in the preview pane:
Feel free to leave your comments and suggestions in the related issue: [RUBY-19041]
The Beta build also fixes the following issues:
- Reinstated detecting `singleton_method` definitions [RUBY-21068]
- Supported IDE Settings Sync plugin (bundled). Read more on the IntelliJ IDEA blog.
- Fixed regressions and other bugs
Your RubyMine team