Skip to content
Thomas Lohnert edited this page Mar 31, 2020 · 20 revisions

Wiki > The GUI > Eclipse > Check Style setup

Check style is set up by:

  1. In eclipse click Windows->Preferences
  2. Select Checkstyle (if this option is not available you will need to install the checkstyle plugin through Help->Eclipse Marketplace and search for checkstyle
  3. Go to Window > Preferences > Checkstyle
  4. If you have an existing "IBEX Checks" entry using an internal configuration, remove it. If it complains about the configuration currently being used in projects, you may have to remove and re-import all projects before you remove this config.
  5. Add a new check configuration by clicking New... next to the table
  6. Set the following
    1. File: External configuration file
    2. Name: IBEX Checks
    3. Location: C:\Instrument\Dev\ibex_gui\base\uk.ac.stfc.isis.ibex.client.tycho.parent\checkstyle.xml
    4. Additional Properties button
      1. Add... button
      2. Set:
        • Name: checkstyle.suppressions.file
        • Value: C:\Instrument\Dev\ibex_gui\base\uk.ac.stfc.isis.ibex.client.tycho.parent\suppressions.xml
  7. Apply and close: you should now be setup
Clone this wiki locally