RubyMine 2.0.1
Minor IDE stability and performance update that also adds Bundler gem support and ensures IDE compatibility with the latest Ruby on Rails (2.3.5) and Cucumber (v0.5.x).
See the complete list of changes in RubyMine bug/issue tracker, read announcement in RubyMine blog.
And download RubyMine 2.0.1.
RubyMine 2.0 — Free Major Upgrade
The Cutting Edge with Ruby 1.9 and Latest Rails
Want to stay on the cutting edge with Ruby 1.9 and the latest Rails? Not a problem with RubyMine. RubyMine knows the new lambda syntax, local variables semantics, new method parameters declarations, and works flawlessly with projects using the latest Rails framework.
New Refactorings and Code Duplicates Detection
Refactoring Ruby is challenging? Yes, but not impossible! With RubyMine refactoring is even simple.
Keep your code in a good shape with new refactorings:
- Introduce Constant
- Introduce Field
- Inline Variable
- Pull Up Members / Push Down Members
- Extract Module
- Extract Superclass
In-place rename for Ruby code is a fast and convenient way to make code better through a simple rename refactoring.
Duplicates detection mechanism helps you find code-smells in your projects for further refactoring.
Easier Testing with Cucumber, Shoulda and RSpec
Cucumber scenarios are considered as important as code and gain productivity features such as:
- steps completion from available step definitions
- checking steps against definitions
- quick 'Go to step definition' navigation
- creating step definition via quick-fix
- automatic examples creation via quick-fix
RSpec support is improved with smarter code insight, support for mocking frameworks and Spork DRb server.
With full support for Shoulda added to the existing stack, RubyMine is ready for whatever testing framework you decide to use in your Ruby/Rails projects.
Web Pages Building With HAML and Sass
HAML indentation based syntax works great for Rails views, looks concise and promotes the DRY principle.
RubyMine 2.0 understands Ruby code inside HAML, provides code completion, snippets and code analysis for Ruby
blocks.
But HAML would be incomplete without Sass. Sass support backed up with RubyMine's initial CSS editing features makes it possible to create great Syntactically Awesome Stylesheets for Rails web applications.
New Code Inspections and 'Quick Fix' Actions
RubyMine's code analysis became much smarter and with the new 'Unused local variable' inspection you can make your Ruby code cleaner.
You can also hide RubyMine's inspections warnings by adding suppress comments to your code.
New 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.
Rails i18n and Spell-checker
Preparing your existing applications for multi-language auditory is a matter of executing a quick-fix on its string literals. Strings are auto-copied to a corresponding YML file and replaced with Rails translate() method.
You can quickly go to property definitions, perform find usages for property keys, and rename them using the usual rename refactoring.
Completely reworked YAML editing support allows comfortable editing of internationalization property files (*.yml).
Integrated spellchecker checks your strings — no more misprints on your application pages.
Spell-checker also verifies variables and method names and is smart enough to understand multi-word Ruby-style names. So, your colleagues will not be puzzled by a misspelled method name.
To fix a misspelling just select 'Rename to...' from quick-fix and refactor with correct name auto-suggested from the standard and your own dictionaries.
Extending IDE Scripts in Ruby
RubyMine can be extended with Ruby scripts. Some default functionality is already implemented in Ruby in form of such extensions. You can manage your own and default extensions using the integrated Extensions Manager.
Improved RubyMine UI and Usability
Use new Run/Debug popup. After getting used to it, lighten up UI or RubyMine IDE by turning off the main toolbar.
Use Tab-Switcher to quickly switch between editor tabs and IDE tool-windows.
Assign background colors for displaying names of project files and folders of specific scopes. The colors are applied to the editor tabs headers and the other elements where files are listed.
Background enabled file-indexing allows to start working with IDE faster when opening big projects..
Copy/paste for files and folders now work between RubyMine and Explorer/Finder.
Continuous Integration with TeamCity
JetBrains TeamCity is a continuous integration and build management system. It is used internally for all our products and is tightly integrated with all our tools: IntelliJ IDEA, ReSharper, YouTrack.
TeamCity provides 'Rake runner' with support for RSpec, Cucumber, Test::Unit, Shoulda and Test::Spec.
RubyMine 2.0 becomes fully integrated with TeamCity through a special IDE plugin that provides:
- Running builds
- Build statistics review
- Pre-tested commits
- Option to open files in the IDE from TeamCity web UI
Download RubyMine (30-day fully functional evaluation).
