Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 1.94 KB

README.md

File metadata and controls

31 lines (23 loc) · 1.94 KB

Introduction to Pentaho Coding Standards

Pentaho enforces coding standards and style through the CheckStyle project ( http://checkstyle.sf.net ).

CheckStyle will soon be integrated into our build system. Until that time, you'll need to configure your IDE using the instructions below to to ensure your contributions conform to the standard.

Installation (Eclipse):

The Eclipse CheckStyle plugin documentation my be helpful: http://eclipse-cs.sourceforge.net

Installation (IntelliJ):

  • Install the CheckStyle-IDEA plugin. (available in the default public repository)
  • Configure the CheckStyle-IDEA (Preferences -> Other Settings -> CheckStyle).
  • Configure code style
    • Copy the codeStyleSettings.xml into your IntelliJ project folder ({{IdeaIntelliJProjectFolder}}/.idea/codeStyleSettings.xml). Overwrite if it's already there.
    • Open IntelliJ, set the Project Settings -> Code Style -> Scheme to "Project"

Additional Information

CheckStyle Tips - Learn how to suppress CheckStyle modules for select areas.