eclipse 常用设置

eclipse 中UTF-8设置

1.windows->Preferences   打开"首选项"对话框;

2.然后,general->Workspace,右 侧Text file encoding,选择Other,改变为UTF-8。

eclipse 粘贴字符串自动添加转义符

Eclipse has an option so that copy-paste of multi-line text into String literals will result in quoted newlines:

Preferences/Java/Editor/Typing/ "Escape text when pasting into a string literal"

原文地址:https://www.cnblogs.com/season2009/p/8473872.html