[Jhs-leads] helpful checkstyle plugin for jdev

Kekelis, Gary Gary.Kekelis@dep.state.fl.us
Wed, 6 Jul 2005 11:50:34 -0400


In case you haven't heard yet, there is a great plug in for JDeveloper =
that
reformats source code according to Sun standards (ie, JHS checkstyle
standards).  You just right click on the source code page and select =
Format
in the context menu.

You can download it here :

http://jalopy.sourceforge.net/download.html


Just copy the contents of the lib folder to jdev/lib/ext and restart
JDeveloper to plug it in.


Another helpful tool built in to JDeveloper is the Auditor.  If you =
focus a
source code page and select Run | Audit from the main menu, it will =
point out
a number of checkstyle errors (although it detects some things that are =
not
Sun errors like not overriding toString() -- turn off these options in
Preferences).  If you right click on the node for the source code page =
shown
in the output window, a context menu with an option called Apply default
fixes is shown, which will add JavaDoc stubs to all methods, among other
things.