Don't insert line breaks to when cases Follow
Is there a way to let rubymine not to insert line breaks to when cases?
The "Reformat code" inserts line breaks to when cases. I want to change this code style.
# Before reformatting code
when 'aaa' then do_aaa
when 'bbb' then do_bbb
# After reformatting code
when 'aaa' then
when 'bbb' then
Please sign in to leave a comment.
you can uncheck 'Kepp line breaks when reformatting' option in Settings | Editor | Code Style | Ruby, but this will be applied to all the code. We also have a corresponding issue on our tracker so please ad your vote: https://youtrack.jetbrains.com/issue/RUBY-19544