reformatting question ruby in Rubymine 2.0.2

Hello,

This is not a bug, but I have noticed that when I reformat (CMD + L) my ruby code, my methods with splats and procs change.

for instance if I have:

def handler(*args, &proc)

#

#

end

this will be reformatted to:

def handler(* args , & proc)

#

#

end

why are the * and & characters being  separated from their variables?

The code works...but it is (uhm) not clean.

H

4 comments

Hello Harold,

I agree with you, please file a bug at http://youtrack.jetbrains.net/issues/RUBY and assign to Oleg.

0

I created the issue, http://youtrack.jetbrains.net/issue/RUBY-6052, but I don't know how to assign it. I'll need your help for that.

H

0

Please sign in to leave a comment.