重新格式化代码
要根据当前代码样式设置重新格式化代码,请从主菜单中选择 代码 | 重新格式化代码 或按 &shortcut:ReformatCode;。
您也可以使用 代码 | 优化 import ,根据项目代码样式设置组织 import 语句,并移除未使用的 import。