RubyMine 2022.2 EAP4 is right here! Make amends for all the brand new options by trying out the earlier EAP weblog posts.
Under yow will discover essentially the most notable enhancements.
Help for YARD macros
We’re persevering with to enhance our YARD help. Now RubyMine acknowledges YARD macro extensions and gives normal coding help for them.
Use the Go to declaration motion on a macro reference to leap to the corresponding macro declaration. In the principle menu, go to Navigate | Declaration or Usages or press ⌘ B (macOS) / Ctrl+B (Home windows).
RubyMine permits you to seek for usages of a macro declaration by invoking the Discover usages motion. Press ⌥ F7 (macOS) / Alt+F7 (Home windows) or go to Edit | Discover Usages | Discover Usages in the principle menu.
You should use the Rename refactoring on macros by urgent ⇧ F6 (macOS) / Shift+F6 (Home windows). Then, specify a brand new title for the macro and press Enter.
Render the YARD documentation to take a look at the macro information instead of the macro reference. RubyMine helps any variable substitutions that could be used within the macro information ($1, $2, and many others.).
Keyboard shortcut to alter the font measurement globally
We’ve just lately launched a keyboard shortcut that adjustments the font measurement throughout all editors. To extend the font measurement, press ⌃⇧. (macOS) or Alt+Shift+. (Home windows). To lower it, press ⌃⇧ (macOS) or Alt+Shift+, (Home windows).
Run Present File
RubyMine makes use of run/debug configurations to run, debug, deploy, and check your code. On this launch, we’ve launched a brand new characteristic to run and debug the file that’s presently open within the editor.
You could find the Present file choice on the toolbar. If there aren’t any run/debug configurations in your mission but, the Present file choice reveals up on the toolbar by default. In any other case, yow will discover the choice within the dropdown menu with run/debug configurations.
Whenever you launch the Present file configuration, RubyMine mechanically determines the run/debug configuration kind. Click on the ‘Run’ button subsequent to the choice to run essentially the most appropriate configuration for the file. Alternatively, you need to use the dropdown menu choices to run or debug your file.
New choice to manage auto-insertion of parentheses
Now you possibly can select whether or not you need RubyMine to mechanically insert parentheses on code completion or not. To allow auto-insertion of parentheses, go to Settings/Preferences | Editor | Normal | Code Completion and toggle the Insert parentheses mechanically when relevant checkbox.
Be a part of the Early Entry Program
You possibly can obtain the most recent EAP construct from our web site or by way of the Toolbox app. The complete checklist of closed tickets on this EAP construct is within the launch notes.
To study concerning the latest options as they arrive out, please observe RubyMine on Twitter. We put up product information and ideas a number of occasions per week.
We encourage you to share your ideas within the feedback under and to create and vote for brand new options within the problem tracker.
The RubyMine staff