Features News

RubyMine 3.0 Release Candidate — more nice fixes

Today we made RubyMine 3.0 Release Candidate available, which means we’re really close to the release. Hooray!

Go grab it!

Also, we’ll show you some small but pretty useful and handy features we added recently.

1. RubyMine 3.0 features an improved Ruby code formatter. There are several new formatting options available:
One option I want to emphasize is Align right parts of assignments or hashes.
With having this particular option activated you’ll be able to reformat the above piece of code to the following:
Pretty cool, isn’t it? Also this feature can be used if you want make your hashes more readable.

2. Another improvement worth mentioning is a reworked Unused local variable inspection. We’ve reworked the problem description to be more clear and also added a new quickfix action. Let’s look at this code snippet:

RubyMine determined that local+=1 resulting value is not used anywhere and can be easily replaced with local+1.  We’ve improved warning message for such cases, and you can now fix this code problem instantly using the quick-fix action:

That’s all for now! Try RubyMine!

Develop with pleasure!
-JetBrains RubyMine Team

image description