...
TODO: Provide code formatters for the common IDEs
IntelliJ IDEA Users
nifi-checkstyle.xml
is a Checkstyle configuration file created by extracting checkstyleRules
from nifi/pom.xml
.
Steps for IntelliJ users:
- Download Checkstyle-IDEA plugin
- Install plugin by loading the downloaded zip from:
Preferences
->Plugins
->Install plugin from disk...
- After restarting IntelliJ, configure Checkstyle plugin to use NiFi Checkstyle configuration file from:
Preferences
->Other Settings
->Checkstyle
- Add
nifi-checkstyle.xml
in Configuration File and activate it
You can now see Checkstyle violations in the editor in real-time.
Eclipse Users
Code formatter rules that adhere to our checkstyle rules can be found here.
...