Skip to content

Latest commit

 

History

History
57 lines (47 loc) · 3.24 KB

eclipse.md

File metadata and controls

57 lines (47 loc) · 3.24 KB

Eclipse Setup

These instructions may be out of date!!!

If you use eclipse, please update this document

Plugins:

Formatter

  1. Install Google Java Format Plugin
  2. Project > Java Code Style > Formatter
    1. Import profile, select the Triplea formatter file: triplea/.ide-eclipse/format/triplea-eclipse-java-google-style.xml
    2. Change Formatter implementation to 'google-java-format' Screenshot from 2019-08-08 16-46-41

Cleanup

  1. Project > Java Code Style > Cleanup
  2. Select the Triplea cleanup file: triplea/.ide-eclipse/format/triplea_java_eclipse_format_style.xml

screenshot from 2019-01-10 15-07-46

Import Order

  1. Project > Java Code Style > Organize Imports
  2. Click 'Import' and select the import file: triplea/.ide-eclipse/format/triplea.importorder

Should look like this when configured:
Screenshot from 2019-08-08 16-45-04

Useful:

  • EGit in Eclipse - with tutorial
  • Run Configurations are checked in
  • Run ./gradlew downloadAssets one time to get images downloaded