IntelliJ IDEA开启确保保存时在文件结尾换行
1、首先,打开一个的IntelliJ IDEA的代码编辑的界面中

3、点击了file菜单之后,弹出了下拉菜单选中为 settings 选项

5、选中左侧中的 general 选项,勾选上 ensure line feed at file end on save选项

1、首先,打开一个的IntelliJ IDEA的代码编辑的界面中
3、点击了file菜单之后,弹出了下拉菜单选中为 settings 选项
5、选中左侧中的 general 选项,勾选上 ensure line feed at file end on save选项