Auto-Align Ruby Code?

Does RubyMine have a command to auto-align ruby code?

example: align the '=' symbols into a vertical column...
x = 1
long_variable = x
really_long_variable = 55

I would like a solution that auto-aligns on '=', '=>', '||=' - can RubyMine do this??

1 comment

Hi Andy,

Does RubyMine have a command to auto-align ruby code?

example: align the '=' symbols into a vertical column...
x = 1
long_variable = x
really_long_variable = 55

I would like a solution that auto-aligns on '=', '=>', '||=' - can RubyMine do this??

At the moment RubyMine doesn't provide such an indentation option. Feel free to submit a feature request at: http://youtrack.jetbrains.net/issues/RUBY

Regards,
Oleg

0

Please sign in to leave a comment.