Start from Scratch
Télécharger Eclipse
http://www.eclipse.org/ Installer Subclipse
http://subclipse.tigris.org/servlets/ProjectProcess?pageID=p4wYuA
Update site: http://subclipse.tigris.org/update_1.4.x voir 1.6.x si vous avez SVN 1.6 installé sur votre machine.
Installer SmartTools
http://www-sop.inria.fr/teams/lognet/SmartTools/eclipse/download/
Update site: http://www-sop.inria.fr/teams/lognet/SmartTools/eclipse/update/
Installer Google GWT
http://code.google.com/eclipse/
Update site: http://dl.google.com/eclipse/plugin/3.4
Setup d'Eclipse
* Allez dans les préférences:
* Dans Général, cochez Show heap status, pour voir l'état de la mémoire.
* Dans Général>Workspace, configurez l'encodage à UTF-8.
* Dans Général>Editor>Text Editors, cochez Show whitespace characters et Show line numbers.
* Dans Général>Editor>Text Editors>Spelling, décochez Enable spell checking.
* Dans Java>Code Style>Clean Up, importez le fichier cleanup.xml ci-joint.
* Dans Java>Code Style>Formatter, importez le fichier formatter.xml ci-joint.
* Dans Java>Editor>Save Actions>Cochez Perform the selected actions on save, puis Format source code, Organize imports et Additional actions.
* Dans les additional actions>Configure... :
* - Use blocks in if/while/for/do statement à Always
* - Convert for loops to enhanced.
* - Use paranthesein expression only if necessary
* - Use modifier 'final' where possible in private fields, local variables, parameter
* - Use this qualifier for field access only if necessary
* - Use this qualifier for method access only if necessary
* - Use declaring class as qualifier for all
* - Remove unused imports
* - Remove unnecessary $NON-NLS$ tags
* - Remove trailing whitespace for All lines
* - Correct indentation
* - Sort members, but ignore fields and enum constants.

