Skip to content

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

@alexanderbird

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

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