July 3rd, 2009 by Oleg Shpynov
As you may know RubyMine provides outstanding Ruby code editing support in Erb files (RHTML, RJS, etc.). So, salute another language with Ruby code support: HAML. Familiar things like on the fly error highlighting, code completion, resolve, code folding, and much more are here to boost your productivity! And of course RubyMine is aware of HAML semantics and ruby blocks are recognized correctly according to indentations.
Here, in support of the words, we have some screenshots:
Ruby code completion:
 |
|
Ruby code folding:
 |
This stuff will be available in RubyMine 1.5 EAP coming soon! Stay in touch!
-JetBrains RubyMine Team
Tags: code completion, haml, ruby, RubyMine
Posted in Feature, WhatsMining | No Comments »
July 2nd, 2009 by Eugene Toporov
I can see that there are quite many of you already: those who use RubyMine and those who read this blog. Numbers can not lie. And there are always people who like customizing the tools they use. Fortunately, RubyMine provides a good number or options for this.
It is always a pleasure and fun for us to see what you do with our product to make it feel better for you. And we are also confident that these things should be shared amongst others and we are ready to help with this where possible.
So, recently we started collecting some cool RubyMine-related stuff people share on the Net: nice color-schemes, file templates, etc.

If you’ve made something you are ready to share, let us know and we’ll get it posted or even added to the default RubyMine distribution, with your permission, of course.
Read the hints on how you can share and install the shared customizations.
So, let’s start sharing!
Posted by Eugene Toporov, Marketing Manager
Tags: configuration, IDE
Posted in Uncategorized | No Comments »
June 30th, 2009 by Eugene Toporov
If you’ve been reading this blog, you surely know that we are actively working on many new features. We write about them in our ‘What’s mining’ posts. It is much more fun to develop new features, but we also care about fixing our old ones. So, here is RubyMine 1.1.1 which is a maintenance release with some fixes and minor additions.
Read the list of selected changes in RubyMine 1.1.1 below and download the update.
IDE General
All RubyMine’s version control integration features now work with Subversion 1.6.
Fixes and Improvements
- Improved ‘Unresolved Ruby reference’, ‘Unreachable code’ and other Ruby/Rails inspections
- Fixed some problems in ‘Extract Method’ and ‘Rename’ refactorings
- Resolved some code completion issues and general code editor issues
- Fixed exceptions in Gem manager
- Fixed ‘Go To Test/Subject’ navigation for HAML views
- Pressing # key converts selected ruby expression to “#{SELECTED_EXPRESSION}”
- Fixed JRuby debug problem with ‘Step over’
- ‘Tools | Rake Tasks’ no longer shows undocumented tasks. For undocumented tasks use ‘Tools | Run Rake Task’
Minor Additions
- Added “Symbol to String” intention action
- Eigenclasses are shown in Structure view
- Argument completion and validation for helper_method
- Added RSpec and Cucumber live templates/snippets ported from TextMate bundles
See the complete list of 70+ changes in our issue tracker.
Download RubyMine 1.1.1
Additionally, we have added patching ability to RubyMine. You’ll be able to install next update much easier.
-JetBrains RubyMine Team
Posted in Announcement | No Comments »
June 24th, 2009 by Oleg Shpynov
Hello everyone,
RubyMine already has a bunch of inspections that help you on the fly to write correct and clean ruby code. They are Ruby code style, Unreachable code, Unresolved Ruby reference etc. Recently we’ve added one more useful inspection: Unused local variable.
Here is a screenshot:

This inspection will warn you about local variables or parameters which values are not used in the scope. Local variable on lines 2 and 5 are highlighted with warning because values assigned aren’t used anywhere, but local variable on line 7 isn’t because you can see read access to it’s value on line 8.
If you find some errors in its behavior or have suggestions you are welcome to file a bug or post your code on the forum. Thanks for all your reports so far! Your help is invaluable in making RubyMine the smartest Ruby IDE.
Note: You can also disable this inspection from right-click context menu or in File | Settings | Inspections | Ruby.
-JetBrains RubyMine Team
Tags: editing, inspection, ruby
Posted in Feature, WhatsMining | 2 Comments »
June 23rd, 2009 by Eugene Toporov
I remember in some CRPGs I had used gems to improve a weapon or an armor. Ruby gems are somewhat similar — we pick good ones and use them in our projects to make them ‘killing’
RubyMine needs to know of gems used in the code in order to provide you with the intelligent code analysis and coding assistance in general. So, we are constantly working on improving our gem manager, and a couple of new things has just been added.
1. Gem manager now lets you quickly see which of your gems are not up-to-date.
Just click ‘Update Gems’ button in gem manager

You will get the list of your project gems that you may want to update.

Turn off the ‘Show only attached gems’ option and you will see all gems that may need to be updated in your SDK. You can choose to update one, some or all gems.

2. Sometimes when opening a file you may notice a yellow notification about missing gems.
RubyMine detects some gems are not attached from lines of code such as gem 'foo'.

You can click the ‘Install…’ link and get the gems installed and attached to the project automatically.
These features will be available in RubyMine 1.2 and in RubyMine 1.5 EAP. Both should be released in the nearest future. Stay tuned!
Posted by Eugene Toporov, Marketing Manager
Tags: gems
Posted in WhatsMining | No Comments »
June 16th, 2009 by Oleg Shpynov
Hello folks, we are glad to announce that current development builds of RubyMine 1.5 support Ruby 1.9!
Of course you can use Ruby 1.9 as interpreter in RubyMine 1.1 and earlier versions but now RubyMine offers you brand new quality of understanding Ruby 1.9 code: new convenient lambda syntax, improved local variables semantics, new method parameters declarations and much more.
Here we have some screenshots for you:
- You can choose Ruby language level for your project

- RubyMine supports new lambda syntax, local variables semantics and much more.

As we have already mentioned this functionality will be available in RubyMine 1.5 Early Access Preview coming soon.
Stay in touch!
- Jetbrains RubyMine Team
Posted in Feature, WhatsMining | 5 Comments »
June 2nd, 2009 by Oleg Shpynov
Hello everyone,
If you are a newbie to RubyMine it is quite essential that you can feel a little bit lost in tons of its features. RubyMine ships built-in help to help you. Just go to Help | Help topic
It is the main screen:

Here you can take a short trip in all the features of RubyMine.
One can ask: and what about feature X? Of course it has search capabilities - just select the tab with magnifier on it and here it is.
In the following screenshot I’ve decided to look for Rails console functionality:

Also we provide RubyMine’s help on web, just visit http://www.jetbrains.com/ruby/webhelp
To boost your productivity with RubyMine we recommend you to take a look at Help | Tip of the Day and Help | Productivity Guide sections.
-JetBrains RubyMine team
Tags: documentation, Help, IDE
Posted in Feature | 2 Comments »
May 28th, 2009 by Oleg Shpynov
We are glad to announce that RubyMine 1.1 is out!
Changes since the 1.1 RC build include support for Ruby and HTML highlighting inside HAML files, correct highlighting of server logs shown in debugger tabs, support for belongs_to/references in migration files, several parser fixes and more.
Download RubyMine, get evaluation key, if you do not have one yet, and try it!
Take a look at what’s new, watch our demos to discover all the features and improvements in release.
If you have questions about some features, ask on the forum and we’ll be glad to help.
Stay in touch!
-JetBrains RubyMine Team
Posted in Announcement | 8 Comments »
May 22nd, 2009 by Eugene Toporov
RubyMine 1.1 is ready but we do not like releasing on Fridays. So, to let you try all the new stuff earlier than later, we release the Release Candidate now!
What is in RubyMine 1.1:
- Rails 2.3 support
- Application templates support on project creation
- Localized views support
- Improved code insight and rails-specific completion
- HAML syntax highlighting
- Cucumber BDD framework support (thanks to Aslak Hellesoy for helping from Cucumber side!)
Note: you need the latest Cucumber 0.3.7 gem
- Remote Debug for Ruby and Rails
- DRb server support for RSpec.
- And other IDE improvements such as
- Create New Ruby Class option
- Load selected code to IRB console (Alt+Shift+L / ⌥⇧L)
- Platform specific IDE Help, with corresponding default shortcuts
Download RubyMine 1.1 for Windows, Mac OS X or Linux, get evaluation key, if you do not have one yet, and try it!
If you have questions about some features, ask on the forum and we’ll be glad to help.

-JetBrains RubyMine Team
Tags: cucumber, haml, rails, unit testing
Posted in Announcement | 1 Comment »
May 22nd, 2009 by Oleg Shpynov
We are glad to announce that RubyMine 1.1 adds HAML syntax highlighting.

As usual you can change color scheme for HAML in Settings | Editor | Colors & Fonts | HAML if you don’t like the defaults.
It is only a first step in HAML/SASS support. So what’s coming next?
- Ruby code highlighting in HAML/SASS as in Erb.
- Code folding
- Code formatting
- Code inspections
- and more…
So, stay tuned and Hello HAML!
-JetBrains RubyMine Team
Tags: haml
Posted in WhatsMining | 6 Comments »