Skip to content

Javadoc in Enums #259

@PiiSmith

Description

@PiiSmith

When using the Prettier built from the current master on Enums with Javadoc comments, those get moved around in a way, that does not make sense.

Start with this example:

/**
 * test enum
 */
public enum test {
    /** TEST1 Javadoc */
    TEST1,
    
    /** TEST2 Javadoc */
    TEST2
}

It gets "prettified" to this:

/**
 * test enum
 */
public enum test {
    /** TEST1 Javadoc */
    TEST1, /** TEST2 Javadoc */
    TEST2;
}

It is clear visible, that the prettified state is not better readable or conform to some norm, compared to the original.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions