/
Checkstyle

Checkstyle

The Taskana-Checkstyle settings are specified under taskana/qa/checkstyle/checkstyle.xml. The import depends on the editor you use.

IntelliJ

Open plugin marketplace for Intellij in File → Settings → Plugins (control + alt + s) and install CheckStyle-IDEA plugin.

 

After the installation, go to File → Settings → Tools → Checkstyle and apply the following configuration:

  1. Choose scan scope: Only Java sources (including Tests)

  2. Add a new configuration file

  3. Choose the file checkstyle.xml from the taskana/qa/checkstyle folder

  4. [Optional] Check “Treat checkstyle errors as warnings”

Refer to the picture below for reference

 

 

Related content

Code Formatting (Backend)
Code Formatting (Backend)
More like this
Enable TRACE Logging with Logging AspectJ
Enable TRACE Logging with Logging AspectJ
More like this
Taskana Web Application
Taskana Web Application
Read with this
Backend Development
Backend Development
More like this
Code Formatting (Frontend)
Code Formatting (Frontend)
Read with this
Equals & HashCode Template
Equals & HashCode Template
More like this