What’s New in RubyMine 7? And 7.1…
These major RubyMine updates polish all parts of the IDE and add new features and enhancements to help you write and maintain your code better than ever. Honed to perfection, so your Ruby skills stay razor-sharp.
Managing Project Infrastructure
Puppet language support was improved significantly, with a plugin designed to analyze Puppet manifest files:
- Provides reliable navigation around both user manifests and the ones installed from Puppet Forge
- Enables code completion, refactorings, find usages, code inspections, quick documentation, and other features based on project structure and the Puppet modules installed
- Supports all the major language features of Puppet 4
- Resolves externally defined symbols such as facts, functions and types
- Additionally supports Puppet environments by defining a separate module path for each environment and automatically synchronizing the current environment with the git branch
RubyMine 7 comes with a new plugin that integrates Chef to help you build, deploy and manage your infrastructure. Following the main concepts of Chef the plugin introduces cookbooks, recipes and resources in the IDE. It provides marking/detection options for a cookbook and code insight for a resource and its attributes. Read more»
RVM as a Remote SDK
Managing the development environment on virtual machines and remote hosts may take a lot of time and effort. Starting with version 5, RubyMine has allowed you to add and set up a remote SDK. Now this feature is also available for RVM-managed Ruby interpreters.
There are also improvements for vagrant- and deployment-based remote SDK.
Inline Variables View
The Inline Variables View is a new debugging feature that integrates the Variables view right in the Editor, by showing variable values next to their usages.
For those who prefer the console for evaluating and executing while debugging, RubyMine now provides the ability to run the console in the context of a debugging session.
More Productive Coding
Move Class Refactoring
The family of Move refactorings (Refactor|Move) is now enriched with long-awaited support for Ruby classes and modules. The new refactoring moves a Ruby class or module to its own file, creates a hierarchy of directories, and adds a ’require’ statement to the source file.
A new inspection also warns you if a new variable name is already in use as you apply the Rename refactoring.
Better Code Annotations
Thanks to your feedback, RubyMine 7 provides smart autocompletion in more situations. YARD attributes and RDoc methods are now recognized by the IDE as method attributes, and are properly suggested in code completion and navigation.
Experiment and prototype right in the editor — without creating any new project files:
- Enjoy top-level coding assistance as you code in Scratch Files
- Access and manage your project Scratch Files via the new Scratches tab
- As Scratch Files are real files, all file operations apply to them as well
EditorConfig helps developers define and share code style configuration between different IDEs and editors. RubyMine 7 brings built-in support for EditorConfig, so that now code style settings from EditorConfig files are applied automatically to your project.
Smart Backspace Indent
This new Editor option makes the backspace key behavior much smarter. Now it doesn't just remove indents and white spaces, but does so according to your code style settings. Read more »
Detecting Code Styles
This new option lets RubyMine detect certain Code Style settings (such as Use Tab Character and Indent Size) in the currently edited file on the fly. Read more »
Whenever you need to fully focus on your code, switch to the brand new distraction–free mode (View|Enter Distraction Free Mode) — a minimalistic UI with no toolbars, tool windows or tabs.
Improvements in CoffeeScript support include:
- ?= operator is now supported
- Navigate | Symbol action now reaches CoffeeScript files too
- CoffeeScript formatter doesn’t remove escaped line breaks anymore
- Support for destructuring arrays and objects has been improved
TypeScript New Features
Use the latest language features of TypeScript 1.4 including union types, let and const keywords, and more. RubyMine also adds support decorators and ES6 modules, the key features in the upcoming TypeScript 1.5.
Emmet can greatly improve your HTML & CSS workflow. To make snippets easier to use, RubyMine now provides a preview action that can be enabled in Settings|Editor|Emmet.
RubyMine 7 supports the latest CSS3 specifications. Now you'll get advanced coding assistance for CSS3 properties and values including code completion and lots of new on-the-fly inspections.
Slim strives to maintain simplicity and make your templates easy to read and write. To help increase readability of Slim code, RubyMine now supports formatting action for this template language.
Postfix Code Completion
Simultaneous HTML Tag Editing
With this new editor feature, you simply edit an opening HTML tag and RubyMine will take care of the closing one. A real productivity boost!
RubyMine now facilitates your workflow with mobile apps developed with PhoneGap, Apache Cordova and Ionic frameworks. You can create, emulate and deploy apps right from the IDE and have direct access to the Cordova plugin registry. Read more »
The Log viewer for Git and Mercurial has been improved with faster loading and a new Reset Current Branch to Here action. Read more »
Mercurial / Git
RubyMine 7 extends the existing Mercurial integration with support for Synchronous Branch Control and Subrepositories. Read more »
The update also comes with a brand new Push dialog for Git and Mercurial. Read more »
The built-in tools for SQL developers have been improved in many ways:
- The Transposed Mode, Zooming and Image Detection in the Table Editor and Results View
- The improved Documentation view
- The Auto Increment option in the Create New… dialog
- The Navigate to a Table/Procedure action
- The Integrated Windows Authentication support for SQL Server
- The Settings and Project Structure dialogs are now clearer and more structured
- Up-to-date support for the latest versions of Stylus and Sass
- RubyMine's runner is now compatible with Cucumber 2.0.0
- The debugger now works with Ruby 2.2.x
- Phusion Passenger 5, also known as Raptor, is fully supported
- Introducing HiDPI support for Windows and Linux
- The Welcome screen and New Project wizard are now clearer and friendlier