Skip to content

Columns have varying widths when inserting blank lines between rows #70

@tsimbalar

Description

@tsimbalar

Hi,

we have noticed a suprising behavior when formatting .feature files.

When writing a table, the columns correctly take the "minimum width" and this is great.

But if you insert blank lines between the rows of the table (to have some visual grouping), then the columns don't have the same width anymore.

This is problematic in our team that uses a variety of IDEs and the behavior is inconsistent, for instance between Rider and Visual Studio.

Examples:

        And This is some table:
            | Key                       | Value  |
            | this is a rather long key | 72     |
            | super short               | 458754 |

becomes

        And This is some table:
            | Key                       | Value |
            | this is a rather long key | 72    |

            | super short | 458754 |

when adding a blank line.

Thanks a lot for the plugin ❤️

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions