Skip to content

string block collaps on empty line #1343

@Pankraz76

Description

@Pankraz76

when removing // tmp fix comment the block collapses like seen below:

            {
                {
                    """
                    import java.util.List;
                    import java.lang.Deprecated;

                    @Deprecated
                    class Test {}
                    """
                },
                // fixme:
                //  this is a bug in formatter
                //  when line is not blank but having white spaced block remains stable
                {
                    """
                    // tmp fix 
                    @Deprecated
                    class Test {}
                    """
                },
                {"""

                @Deprecated
                class Test {}
                """}
            },

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