Skip to content

Re-indenting of block comments doesn't handle blank lines. #815

Open
@thomasvl

Description

@thomasvl

#791 doesn't seem to handle a blank line in the block comments, i.e. -

        /* Comment

           Comment after blank */
        /*
           Comment

           Comment after blank
         */

It looks like this is inserting the leading whitespace on the blank lines rather than leaving the blank lines completely blank. And that whitespace then gets flagged as something that should get fixed.

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