UPDATE: Important formatting options are now stored in the repository. You do not have to configure any settings aside from what follows below. Please do not modify anything in the .settings
folder
NOTE: Mac OS X is currently unsupported due to limitations with the JSFML library.
- Download Eclipse Mars
- Window > Show View > Other > Git > Git Repositories
- Click the "Clone a Git Repository and add the clone to this view" button (blue arrow)
- Help > Eclipse Marketplace > Find: 'checkstyle' > Install "Checkstyle Plug-in 5.7.0 (version might be slightly different)
- Window > Preferences > Checkstyle > New > Project Relative Configuration
- Name: Google Java Style
- Location > Browse >
google_java_style.xml
> Ok - Check "Protect Checkstyle configuration file" > Ok
- Google Java Style > Set as Default
- Help > Check for Updates > Install any available updates
- Restart Eclipse
- File > Import > General > Existing Projects into Workspace > Browse > Find where the git repository was cloned to earlier and open it
- Open src > game > "Game.java" and press Ctrl + F11
- Make sure everything is working properly
- Adhere to the checkstyle warnings
- Comment every line
- Add Javadoc documentation wherever possible
- Always branch
- Never commit to the master branch
- Commit often
- Make commit messages meaningful
- Always favor quality over quantity
- Re-factor code whenever possible
- Use the final modified whenever possible
- Actively use the issue tracker and add to it
- Never work on something not in the issue tracker
- Favor essential features to stylistic ones
- Review pull requests and leave your feedback as a comment
- Consult the JSFML documentation
- Give back to JSFML, if you find a bug in the library add it to the JSFML GitHub page