Swiss Army JavaGit

This project is maintained by bit-man

All JavaGit code must conform to the following Java Style Guide. For items not covered in this document, see Sun's Code Conventions for the Java Programming Language.

An Ecplise formatter definintion file that (nearly) matches this policy can be acquired at: https://subversive.cims.nyu.edu/osp/tools/trunk /EclipseFormatter-OSPConventions.xml . See below for how to install it.

Indentation

Comments

Declarations

Exceptions

Whitespace

Format Configs

Eclipse

  1. Right click on project in package explorer, select "Properties"
  2. expand "Java Code Style"
  3. select "Formatter"
  4. check "Enable project specific settings"
  5. import eclipse format configuration file