Is there "Ensure right margin is not exceeded" option for Ruby?

Answered

As in title. I see there's such an option for almost any other major language, seems strange it's not available in RubyMine for... ruby. Is there any other way to use it? I'd like to be able to run "Reformat Code" and have lines that are too long split into multiple. Turn this:

FactoryBot.create(:user, email: "some@example.com", name: "Sample name", password: "somepass")

to this:

FactoryBot.create(
:user,
email: "some@example.com",
name: "Sample name",
password: "somepass"
)

Thanks!

1 comment
Comment actions Permalink

Hello,

we have a corresponding feature request so could you please add your vote to it:

https://youtrack.jetbrains.com/issue/RUBY-11784

0

Please sign in to leave a comment.