I have enums like:
public static enum Command
{
login,
register,
logout,
newMessage
}
When formatting the file, the output becomes:
<
Just adding latest Eclipse 2018.9
Window > Preferences > Java > Code Style > Formatter - EditLine Wrapping tree node.Wrapping settings'enum' declarationConstants and Constant arguments.Constants need to be Wrap all elements, every element on a new line.
Constant arguments need to be Wrap where necessary.