ruby-on-railsindentationrubymine

Extra indentation for private methods


Is there any way to make RubyMine put an extra indentation for private methods? For example:

def a_public_method
  # ...
end

private

  def a_private_method
    # ...
  end

Solution

  • It's in their feature request list ( not implemented yet)

    You can vote on it here.

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