原文: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