RubyMine 2017

JetBrains presents RubyMine 2017.1, the first major update for RubyMine this year, is now released.
14 April 2017   3481

JetBrains presents RubyMine 2017.1, the first major update for RubyMine this year, is now released.

Docker

RubyMine 2017.1 brings full support for Docker! Download the Docker integration plugin right from the IDE, choose a remote Docker SDK, and enjoy working with your Docker projects like you do with local ones. Take advantage of code analysis, completion, and other smart features available in RubyMine.

RubyMine interface

RVM Gemsets

Create RVM gemsets from the New Project wizard. When you create a new project, the IDE will automatically suggest a similarly-named gemset and will use your project gems within this gemset. In this way, RubyMine helps you keep gems for your projects separately, preventing each of your projects from possible damage. Alternatively, RVM gemsets can be also created in the Ruby SDK and Gems dialog.

RubyMine interface
RubyMine interface
 

RuboCop

RuboCop

A Ruby static code analyzer, based on the community Ruby style guide.

Starting with this version RubyMine supports RuboCop, the well-known static code analyzer for Ruby. The IDE runs cops in the background, and displays RuboCop offenses the same way as it does RubyMine inspections.

RubyMine interface

Testing

We have added an ability to create tests for Rails controllersmodelshelpers, and mailers from the Go to test action. So if you have a RoR entity without a related test, RubyMine will suggest to install the testing framework (currently works with RSpec and Test::Unit) and generate the test. You can also roll back changes if something goes wrong.

RubyMine interface

Puppet

Puppet modules can be now generated quickly right from the New Project wizard. The IDE automatically detects the gems needed for Puppet and then suggests installing the missing ones. If you are already working on an existing project in RubyMine, you can also create a new Puppet module in a second from the context menu. As for other improvements, RubyMine now can install dependencies based on .fixtures.yml.

RubyMine interface

Puppet project structure

The IDE finds all modules and/or environments in the project and updates the project structure with one click from the context menu. Open your Puppet project, Install dependencies through context menu, and enjoy working with your modules with all their dependencies accounted for.

RubyMine interface

JavaScript

Code style configuration for JavaScript and TypeScript is now a lot more flexible. You can configure the use of semicolons to terminate statements, trailing commas, quotes, and wrappings for ternary operators and variable declarations with a single var.

RubyMine interface

Vue.js support

Vue.js

Vue is a progressive framework for building user interfaces.

Vue.js support is now available in RubyMine through the official JetBrains plugin (Settings | Plugins | Browse repositories). Enjoy coding assistance for Vue template language and the language of your choice in the script and style blocks of a .vue file. The IDE automatically completes Vue components and adds the required imports for them.

RubyMine interface

 

Auto import for React components

Select a React component defined in your application in the completion popup – and the IDE will add an import for it automatically. RubyMine will also suggest a fix in case you forget to import React.

RubyMine interface

Integration with Jest

Jest

Jest is used by Facebook to test all JavaScript code including React applications.

Thanks to the WebStorm team, you can now run Jest tests in RubyMine, see test results in a handy treeview, easily navigate to the test source from there, and also debug Jest tests.

RubyMine interface

Version control

The Log viewer now supports regex and case-sensitive commit message search. Now you can control how much information the Log viewer displays. For example, you can disable Show Tag Names to make the view more compact, or enable Compact Reference View to see only the first branch name and hide the others.

Also, if you are working with big projects with tons of commits, you will be glad to know that the search in Git Log has become significantly faster.

RubyMine interface
RubyMine interface
 

Other improvements:

  • Parameter hints for Ruby.
  • Updated structure view of markdown files.
  • New Find in Path dialog shows search results instantly.
  • New Ruby Class dialog now allows to create classes nested in the right modules.
  • Rollbacks for generated Rails entities.
  • Cucumber 3 support.
  • Customizable colors for RegExp syntax highlighting.
  • Support for Emoji characters in the editor.

What IDE are you using?

Take part in the survey of our portal. What Integrated Development Environment are you using? Every Environment has it's advantages and disadvantages, every solution has strong and weak sides. Share your opinion about the best Integrated Development Environment.

RubyMine
64% (9 votes)
IntelliJ
14% (2 votes)
Eclipse
7% (1 vote)
Visual Studio
7% (1 vote)
Vim
7% (1 vote)
Android Studio
0% (0 votes)
NetBeans
0% (0 votes)
Xcode
0% (0 votes)
Komodo
0% (0 votes)
Sublime Text
0% (0 votes)
Total votes: 14

RubyMine 2018.2 to be Released

Great news for Ruby developers - new version of popular IDE available now
27 July 2018   710

Major summer update of the integrated development environment RubyMine from JetBrains under the number 2018.2 released. Among the innovations - improving the work with the code, support for new version managers, re-testing only for failed tests and much more.

Code analysis

The new version of IDE has received an improved type inference that allows to better read the types of elements in blocks, arrays and hashes. This feature improves code autocompletion and navigation throughout the project:

Element CompletionElement Completion

In addition, RubyMine now correctly recognizes models using polymorphic associations, and offers them full support for "smart" functions.

Version Managers

The updated development environment now supports chruby and asdf. Moreover, now all version managers are available in WSL, Docker, SSH and other remote connections.

Testing

RubyMine 2018.2 allows you to retest only those tests that have not been tested. According to the developers, this frees the user from manually viewing each failed check. The new function also works with the rake test and rake spec presets:

Rerun Failed Tests
Rerun Failed Tests

YAML

In this update, developers paid attention to the YAML data serialization format. Now its code can be formatted directly in the IDE and use all the functions of autocomplete and navigation by code. Moreover, the new version of RubyMine provides automatic filling of YAML data structures that have JSON Schema files, and the ability to copy / paste the key path to the value in .yml files.

Git

Support for version control in RubyMine 2018.2 has received several new features:

  • files with a merge conflict are now grouped in a separate node;
  • a new action Browse Repository at Revision allows you to examine the state of the repository after each revision;
  • It was possible to skip the Push action during the Commit and Push command or use it only for protected branches;
  • you can connect an unlimited number of accounts to GitHub and select the main one for each project.

Other improvements

In addition to general performance improvements, the new version of IDE brought new icons, a dark theme for MacOS, support for the Touch Bar, improved support for JS, TypeScript and CoffeeScript, which you can see in the overview of the WebStorm 2018.2 IDE update, and connect the debugger to remote processes without having to reboot .