need
枚举类
The fields are generally small in length. After formatting, multiple fields will become one line.
Requirements: I hope that each field is a separate row.
The formatted style is as shown in the figure below:
configuration
1. Windows - Preferences
2. Java-Formatter
If there is no custom formatter (Java-Formatter), you can create a new one, and then edit Edit. If it already exists, edit it directly.
3. Constants
定位 LineWrapping - WrappingSettings - ‘enum’ declaration - Constants
4. Configure and save.