Ruby IDE
RubyMine is the smart Integrated Development Environment (IDE) for Ruby projects with intelligent full-featured code editor for effective Ruby development.
Ruby Editor
Ruby code editor provides automatic syntax and error highlighting of Ruby code as you type including full support for Ruby 1.9 with new lambda syntax, local variables semantics, etc.
RubyMine performs automatic Ruby code styling, with brace matching and folding, custom formatting, indentation and TODO marks.
More color schemesCarefully selected colors for Ruby statements, keywords, comments and other language elements as well as several different color schemes bundled with RubyMine and many custom themes created by the community.
Code Completion
RubyMine code editor provides intelligent code completion for Ruby language, which includes:
- Smart Ruby statements and keywords completion
- Automatic completion of built-in methods
- Completion and automatic resolution in require and load calls
- Correct filtering of static and instance members in autocompletion
- Local variable type inference
- Type inference for Method return values
- Type inference for block variables within block calls
-
-
-
Code Navigation
Quick navigation between usages and declarations with 'Go to declaration' and 'Find Usages'.
Navigation gutters : 'Goto overriding / partial for classes, modules and methods.
Refactorings
RubyMine, being the descendant of IntelliJ IDEA, inherits the best from it, and one of the greatest things is the set of intelligent code refactorings for Ruby:
- Rename refactoring
- Extract Method
- Extract Module
- Extract Superclass
- Introduce Variable
- Introduce Constant
- Introduce Field
- Introduce Parameter
- Inline Variable
- Pull Up Members / Push Down Members
- Override Method
All the refactorings inside RubyMine are, of course, Ruby on Rails aware.
Code Analysis
RubyMine performs on-the-fly code analysis and highlights errors while you type. Practical error highlighting UI shows notifications in the current file and the whole project.
RubyMine's code analysis is smart to report 'Unused local variable'. Any RubyMine's inspection warning can be hidden by adding suppress comment to your code.
In addition to the errors RubyMine inspects the code and suggests improvements with quick fix options as well as ability to disable the particular inspection.
1
2
3
Quick-fixes allow creating many project elements from their usage, such as new method, action, partial, JavaScript or CSS file. Just refer a non-existing element in your code and invoke quick-fix on it using the hotkey.
Rake Integration
RubyMine understands your Rake files, and lets you conveniently use the tasks with following features:
Quick Rake tasks execution. Just press Alt+R⌥R, type part of Rake task name and hit Enter to start it.


Rake-specific run/debug configurations.
You can have persistent and shared configurations for customized Rake tasks execution, e.g. with specific task arguments, environment variables, etc.


