For the Eclipse users out there, these are the instruction on how to configure a Checkstyle plugin inside your IDE. Similar instructions apply for Intellij (a Checkstyle plugin is available in the plugin manager)

Please note that for now you have to create different configurations for CE, EE and STK because of the different header files:

  • Now right click on your Magnolia CE project and select properties. In the Checkstyle tab select "Checkstyle active...", "use simple configuration", and choose "Magnolia CE" from the check configuration
    drop down.
  • Now rebuild your project: you should see a few thousands of new warnings in the "problems" view (I recommend to set up the problem view to only show problems "on selected resources and their children, or you will get lost)