更新时间:2023-12-03 21:01:40
导航到 首选项 →编辑器代码风格→Java →换行和大括号选项卡,然后找到字段注释部分并选中单个注释后不换行选项.
Navigate to Preferences → Editor → Code Style → Java → Wrapping and Braces tab, then locate the section Field annotations and check the option Do not wrap after single annotation.
在 IntelliJ v14 中:
In IntelliJ v14: