设置创建的文件默认为Unix&UTF-8格式

Windows>>Prefrences>>General>>Workspace
Eclipse使用小技巧Eclipse使用小技巧


Windows>>Prefrences>>General>>Editors>>Text Editors>>Spelling
Eclipse使用小技巧
Eclipse使用小技巧

让.properties文件默认以UTF-8编码格式打开

Windows>>Prefrences>>General>>Content Types
注意:设置完了,要点一下“Update”按钮使其生效。
Eclipse使用小技巧Eclipse使用小技巧

格式化时不要把已经分好行的代码和注释重新分行

Windows>>Prefrences>>Java>>Code Style>>Formatter
Eclipse使用小技巧
Eclipse使用小技巧
Eclipse使用小技巧
Eclipse使用小技巧
Eclipse使用小技巧
Eclipse使用小技巧

Java语法着色

Windows>>Prefrences>>Java>>Editor>>Syntax Coloring

相关文章: