Setup
- Download and install Eclipse for Java developers
- In Preferences->General->Editors->Text Editors, set Display tab width to 2, check Insert spaces for tabs, and set Print margin column to 100.
- Install the eclipse plugin for gwt+appengine
- Install SVN eclipse plugin: subversive with SVNKit Connectors (if that fails, you can try subclipse)
- Learn what is SVN and how to use it. I also recommend installing tortoise SVN if you have windows.
- Update your SVN configuration file: important because end-of-line is different on unix and windows.
- Get your Google's SVN password. You'll need it for the next stage to checkout the code.
- From eclipse, checkout the directory nyu-gaming-course-2013 out of https://nyu-gaming-course-2013.googlecode.com/svn/trunk/eclipse/ , follow these instructions
- If you have build problems, you might need to update your eclipse AppEngine SDK (in your build path settings) to the latest version. Similarly for your GWT version.
Tips
- Ctrl+Shift+O optimizes all your imports (removes unused imports).
- Ctrl+Shift+F formats your code nicely.
- Shift+Alt+UP selects enclosing element.
- Shift+Alt+L extracts local.
- Shift+Alt+Z surround with XXX.
- Ctrl+Space is smart auto-complete.
- Ctrl+F8 to switch perspectives
- Ctrl+1, 2, 3 quick fix, quick assist, quick access
- Alt+Shift+R rename
- Ctrl+Shift+G find usages
- Ctrl+Shift+M makes a static import for a static method call