eclipse 粘貼字符串自動添加轉義符

eclipse -> Window -> Preferences -> Java -> Editor -> Typing -> 勾選{Escape text when pasting into a string literal}
在這裏插入圖片描述效果:在這裏插入圖片描述