4 comments
Comment actions Permalink

Is it better than the built-in tools in IntelliJ (code inspection and code
style)?

"Mark Lussier" <mark@ironhide.com> wrote in message
news:aqovr6$np7$1@is.intellij.net...
>

The JetStyle plugin integrates CheckStyle (http://checkstyle.sf.net) into
IDEA

>

http://www.intellij.org/twiki/bin/view/Main/JetStylePlugin

>

M



0
Comment actions Permalink

Amnon I. Govrin wrote:

Is it better than the built-in tools in IntelliJ (code inspection and code
style)?


Well this "compliments" the interal inspection and checks. There is a bit of
overlap (like javadoc) but this deals with other things like size
violations (line, method, constructor lengths), JLS conformity, rigid
naming rules, etc).. Shall we call it "compliance" :)

This started as an exercise for me to learn the openapi. I wanted to
acomplish toolwindows, with editor (line, offset) navigation, etc... Seemd
like a good start. I was also planning on mixing in JCSC and user specified
expressions to give more complete coverage and "code review"'esk
functionality.

M

0
Comment actions Permalink

Beautiful! I was going through the list of ideas for plugins two days ago to see if a CheckStyle plugin would appear at some point.. You made it :)

One quick usability issue: my tool windows are non-docked and non-floating. When I click on a checkstyle error, my cursor jumps to the right location in the source but the checkstyle window immediately hides. I have to pop it back up for the next error.
This behavior is quite different from the built-in tool windows.

What style does it check against right now? I didn't see any obvious way to supply a checkstyle config file. (The wiki says "configuration is 20% done" but I'm not sure what that means :) ).

Vince.

0
Comment actions Permalink

Vincent Mallet wrote:

Beautiful! I was going through the list of ideas for plugins two days ago
to see if a CheckStyle plugin would appear at some point.. You made it :)


:)

One quick usability issue: my tool windows are non-docked and
non-floating. When I click on a checkstyle error, my cursor jumps to the
right location in the source but the checkstyle window immediately hides.
I have to pop it back up for the next error. This behavior is quite
different from the built-in tool windows.


Yeah I noticed that as well, I will stick it on the list

What style does it check against right now? I didn't see any obvious way
to supply a checkstyle config file. (The wiki says "configuration is 20%
done" but I'm not sure what that means :) ).


Well all the default checks of course. If you open your project properties
dialog, there is a checkstyle icon that will let you configure some
options. Nameing regex's, white space stuff, some size violations...

M


0

Please sign in to leave a comment.