Skip to content

12. IDE instructions

Ilkka Seppälä edited this page Apr 16, 2016 · 26 revisions

Initially

  • Clone the project git clone https://github.com/iluwatar/java-design-patterns.git

Eclipse

  • Download Eclipse from https://eclipse.org/downloads/ Choose Eclipse IDE for Java Developers or Eclipse IDE for Java EE Developers
  • Import the project File - Import - Existing Maven projects - point to the project root folder
  • Configure Checkstyle plugin Window - Preferences - Checkstyle - New - External Configuration File -> Name it and point to checkstyle.xml -> Set as default
  • Right click java-design-patterns project in Project Explorer and choose Checkstyle - Create formatter profile
  • Activate formatter profile Window - Preferences - Java - Code style - Formatter - Active profile -> choose the one you just created -> Apply

IntelliJ IDEA