Feature Request: Style support for multiple "module" declarations per line

When we have deeply nested modules, I often condense the opening declarations onto one line like so:

module MyProject module MyFeature module SomethingElse
     class MyClass
     end
end end end


There is no option to support this in the style configuration for RubyMine, and also this seems to confuse RubyMine about what the indentation level should be before the class declaration. Any chance this could be added? Even better would be the ability to write Ruby code against a style API for customizations :)

1 comment
Comment actions Permalink

Hi,

you are welcome to file a ticket in our tracker (https://youtrack.jetbrains.com/issues/RUBY) about this and we will see if such functionality is important for others (how many votes it will collect).  And if many people needs this we will implement it.

Regards, Oleg.

0

Please sign in to leave a comment.