Skip to content

Two methods without empty line between them are folded as if they were one single method #6

Description

@alexanderbird

I've started working on a project with loose style guidelines, so there are many files with inconsistent spacing between methods. It would be great to have the methods that don't have a gap between them treated individually.

Simplified example:

def foo
end
def bar
end

def baz
end

is folded as

4 lines: def foo
2 lines: def baz

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions