原文:Intellij IDEA 去除行尾空格

Settings gt Editor gt General ,Allow placement of caret after end of line 始终在插入符号行上留下尾随空格 取消勾选 这一个千万不要勾选,勾选之后可以在行尾任意处点击光标输入,网上有帖子是勾选的为错误操作 ,Strip trailing spaces on Save 在保存时删除尾随空格 选择 All ,Always keep ...

2019-01-23 15:36 0 1581 推荐指数:

查看详情

IntelliJ IDEA自动去掉行尾空格

Settings→Editor→General 先选中Allow placement of caret after end of line 再修改Strip trailing spa ...

Mon Oct 31 18:02:00 CST 2016 0 6792
如何取消IDEA的自动删除行尾空格

使用IDEA,添加注释的时候敲空格,总是会把行尾空格删除导致代码跑到注释行,很不爽~~ 取消这个不爽的功能:File--Settings--Editor--General--Other--Strip trailing spaces on save : None ...

Wed Jun 19 07:38:00 CST 2019 3 734
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM