This build features a very handy ability to view a call hierarchy of methods (Navigate | Call Hierarchy), which expands the potential of the Find Usages action.
Not only does the Call Hierachy show you all the methods (“callers”) that use the method you are investigating, but it also shows you callers of the callers. Take a look at the following steps to escape this verbal abracadabra and get a grasp of this feature:
Put the caret at the method you want to investigate and choose Navigate | Call Hierarchy (Ctrl+Alt+H). The resulting popup will show you the list of methods that call this method.
If you expand any node, you will see which methods call the methods that use the original method you are investigating:
RubyMine 2019.1 EAP (build 191.4212.20) is now open! We’ve added support for Factory Bot, improved support for polymorphic associations and gems, fixed many issues with version managers, and there’s much more stuff to come from both the Ruby and the IntelliJ platform team.
As for the first EAP build, here’s the list of improvements that have been made:
RubyMine has a number of Smart Keys – configurable options that help you avoid extra typing, and navigate through the code faster. Most of the smart keys, like auto-inserting closing brackets and quotes are on by default. However, there are other options you may want to enable.
For instance, you may want to stop at parts of CamelCase and snake_case words when you navigate through the words in your code with ⌥+Arrows / Ctrl+Arrows. To quickly enable this option, invoke Find Action (⌘⇧A / Ctrl+Shift+A) and start typing “use camelhump words”. The IDE will match your query to the related setting and will allow you to toggle it without accessing the preferences:
RubyMine 2018.3.3 puts Darcula 2018.2 back in the list of color schemes (Preferences / Settings | Editor | Color Scheme) and doesn’t require any importing. Please update to the newest version from the IDE, via Toolbox App, or download it from our website.
Previous update: Jan 6, 2019
RubyMine 2018.3.2 doesn’t have the Darcula 2018.2 color scheme in the list of available color schemes on MacOS and Windows. This is a bug [RUBY-23348]. Please use this temporary workaround to re-enable the Darcula 2018.2 color scheme in v2018.3.2:
In RubyMine, go to Preferences / Settings | Editor | Color schemes. Click on the gear icon and choose “Import Scheme”.
Find and choose the earlier downloaded Darcula_2018.2.icls. Don’t forget to click “Apply” after importing the scheme.
Previous update: Dec 12, 2018
Please note that starting with v2018.3.1 Darcula 2018.2 is added to the list of color schemes (Preferences / Settings | Editor | Color Scheme) and doesn’t require any importing. All custom changes made to Darcula in v2018.2 or older are preserved. Please report any issues to RUBY-23180.
This post explains why we decided to update the Darcula color scheme in RubyMine 2018.3, and shows you how to quickly rollback to the previous version of Darcula if you don’t like the new one.
RubyMine 2018.3comes with a new, much nicer, Darcula color scheme. In the new version, we updated colors for most of the Ruby/Rails elements to make your code look less noisy. For example, we got rid of the glaring red color used for Ruby classes and require calls, reworked the strings that were too bright and bold, and fixed some other aesthetics to make it look that little bit prettier: