Skip to content

Autoformat should keep indentation level #131

Closed
@mojo2012

Description

@mojo2012

When I make a text selection like this:
bildschirmfoto 2017-11-16 um 14 08 11

And then I hit cmd-shift-f to invoke auto-format, I get this:
bildschirmfoto 2017-11-16 um 14 08 43

From the "n:explorer" element downwards the indentation level is wrong. It seems everythign is aligned on the last closing tag which is on most left column.

Actually It should always use the indentation level based on the whole document, even if just the selection is autoformatted.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions