Eclipse

change eclipse.ini
find Eclipse.app/ -name "eclipse.ini" Eclipse.app/Contents/Eclipse/eclipse.ini change -Xms768m, -Xmx1024m
 * change memory size under eclipse.ini

config user name
-Duser.name=Lokvin
 * add '-Duser.name' to eclipse.ini

UTF-8 file encoding
Preferences - General - Workspace - Text file encoding : UTF-8

check installed jre
Preferences - Java - Installed JRES

Save automatic before build
Preferences - General - Workspace - check "Save automatically before build"

Organize import on save
Preferences - Java - Editor - Save action - check "Perform select action on save", check "organize import"

format edit lines on save
For better diff changes, we only format edit lines on save instead of all file. Preferences - Java - Editor - Save action - check "Perform select action on save",  check "format source code", "format edit lines on save"

editor setting

 * preferences - General - Editors
 * show line numbers
 * insert spaces for tabs
 * show white spaces character
 * display tab width: 4

java editor use spaces indent
preferences - java - code style - formatter - create profile base on build in - edit - indentation - spaces only, tab size: 4

save action
Preferences->Java->Editor->Save Actions
 * change java save action
 * remove unused import
 * remove unnecessary casts

disable eclipse valiate during building
Preference -> Validation unselected all build validation

Java editor use space for indent
set Tab policy to: Spaces only, tab size: 4
 * 1) Preferences - Java - Code Style - click "Edit" - Indentation

font size
Preferences - General - Appearance - Colors & Fonts - Basic - Text Font font size 13

install plugin from marketplace

 * It's convenient install plugin from eclipse marketplace: Help -> Eclipse Marketplace

Key Assist

 * in linux eclipse, ctrl + shift + l (Help -> Key Assists)


 * Word Complete, alt + /


 * max(recover) current editor, ctrl + m

TODO task

 * add //TODO mark in code, and all TODO mark can find in Tasks view.

set eclipse proxy
HTTP set proxy HTTPS set proxy SOCKS don't set proxy
 * preference - General - network connnection


 * and you can proxy bypass for don't use proxy

set eclipse JDK
/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home /Library/Java/JavaVirtualMachines/1.6.0_51-b11-457.jdk/Contents/Home
 * for mac

install lombok
use lombok.jar