Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Make indent guides indicate changing indentation earlier #3160

@dmnd

Description

@dmnd

The current indent-guides lazily indicate when the indentation level changes. By "lazy", I mean that the indentation guides keep showing up until a line appears with different content. Example of lazy indentation guides:

image

Contrast this to eager indentation guides, which disappear as soon as they can:
image

Lazy indentation guides work well in curly-brace languages because there is content on the line to indicate when a block finishes. However, in CoffeeScript and Python, they don't work well because there is no closing brace, and we end up with confusing guides that don't seem to match up with blocks.

This issue is asking that Atom indentation guides are changed from lazy to eager. Another way of describing it is to change the indentation guides so that they end where the closing brace would be in a curly-brace language.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions