📜 ⬆️ ⬇️

JetBrains update season: RubyMine 6.0

image

We have released RubyMine 6 - a new version of our professional integrated development environment for Ruby and Rails. In version 6, the long-awaited support for working with several projects was added, to speed up the work, the Ruby parser was rewritten, which at the same time added support for Ruby 2.1-preview1. IDE has become much more productive, and we plan to support Ruby 2.1-preview2 in RubyMine 6.0.1.


')

Important Improvements in RubyMine 6




RubyMine 6 also includes many enhancements and new features of the IntelliJ platform, common to all our IDEs. Of these, I want to highlight:


If you have not used our database support plugin in RubyMine before, then you are welcome to read our post yesterday about working with it.

Details about some of the features of the new RubyMine


Opening multiple projects in one window

The instructions for working with multiple projects in one window tells how it works. Among other things, it is convenient to navigate through the files of all projects at the same time, which facilitates both banal copy-paste and orientation in the code of related projects. Now you can simultaneously work on the Rails application and the source code of the gems used in it in one IDE window.

Especially for speakers and screenmasters

Now in RubyMine there is a presentation mode and full-screen mode. Called via View | Enter Presentation Mode and View | Enter Full Screen respectively. In the presentation mode, only the editor window with the code is shown, and an enlarged font is used to make it easier to show the code on the big screen. Switching back from both modes is very simple: mouse up until it stops, menu pops up, choose View | Exit Presentation Mode or View | Exit Full Screen .

If you still have unassigned hotkeys, you can assign them the choice of presentation mode in File | Settings | Keymap

By the way, about hot keys: thanks to Nikolai Chashnikov for the entire IntelliJ platform (and for the new RubyMine, therefore, too) the Presentation Assistant plugin appeared, which shows the shortcut keys that you press in large print at the bottom of the screen. This is simply an indispensable thing for anyone who makes reports or screencasts. Put it soon right from the JetBrains repository!

Improved Extract Method

Now, when calling the Extract Method, an automatic search for all duplicates in the code is done, which should be replaced with a method call. When replacing the IDE shows duplicates found, allowing you to replace both all at once, and only some of them.

image

Integration with Zeus

Zeus preloads your Rails application to speed up its launch. The Zeus author in the screencast shows how he achieves acceleration 10 times. What is the integration?

First, you can start the Zeus server directly from the IDE. Secondly, if it is running, then all Rails applications from the IDE can be run with it. Thirdly, it is possible to debug applications with it. Read the instructions for using Zeus from RubyMine.

Debugger

Our optimizers tried their best, and their efforts were not in vain: the JRuby debugger was 30% faster, and the Ruby 2.0 debugger was twice as fast! In addition, RubyMine 6.0 has built-in support for the gem debugger.

In addition, for all debuggers except Ruby 2.0, we added the ability to see the status of all threads of commands (threads) in a process that stopped at a breakpoint.

Tests

In the new version there are custom delays for automatic launch of tests - up to 10 seconds. In addition, RubyMine is now better integrated with the RSpec test framework: it began to understand the dynamic matchers be_ * and have_ * and support auto-completion when using let, let! and subject. We also updated the relevant inspections, so nothing superfluous when using RSpec is no longer underlined in red.

For more information about the release, read What's new on our website.

What's next?


Download a free 30-day trial version of RubyMine 6.

Upgrading to version 6 is free for anyone who has acquired a license after November 26, 2012.

Comments and suggestions on the new version will be very welcome in our bug tracker or in the comments to this post.

And subscribe to RubyMine Twitter to always be aware of our news (and so there was where to write, if there is no time to write more than 140 characters)!

Source: https://habr.com/ru/post/204198/


All Articles