Hi guys,
Having IntelliJ enforce Beam's Checkstyle rules turned out to be very
useful for me, so I figured I'd share the steps just in case.
1. Install the Checkstyle plugin
1. Select the *Plugins* menu from the *Preferences* (Cmd+",")
2. Click "*Browse Repositories*"
3. Type "*Checkstyle-IDEA*" in the search box and select the search
result
4. Click "*install*"
5. *Restart* Intellij
2. Activate Beam's checkstyle rules
1. Select the newly added "*Checkstyle*" menu from the Preferences
(Cmd+",") menu
2. Hit the "*+*" icon to add a checkstyle file, *select Beam's
checkstyle.xm*l
"..incubator-beam/sdks/java/build-tools/src/main/resources/beam/checkstyle.xml"
3. Check the "*Active*" checkbox to activate
3. Done!
Hope you find this useful.
Regards,
Stas