[RFE] InspectionGadgets

I've just started trying out Aurora and the new Plugin Manager. This is
a huge leap forward compared to how plugins are handled in IDEA 3.0. The
main reason for trying Aurora was this new Plugin Manager and all the
cool plugins that I read about in this newsgroup.

The InspectionGadgets plugin just blows me away. It is awesome. I ran it
some stable production code and it finds all kinds of stuff that
could/should be fixed.

Which brings us to my request. If one is to really benefit from all
these inspections InspectionGadgets must be configured correctly. Here's
where I ran into trouble. For fun I enabled all of the inspections and
then removed the ones that didn't matter to me. The output window have
the categories sorted alphabetically, but when you're configuring the
inspections the are in some random (?) order. If the configuration were
sorted in the same way as the results it would be easier to configure
everything.

Another thing that strikes me as a bit odd is the fact that you have to
"Inspect Code..." to be able to get to the configuration screen. Is
there a special reason for not using the standard "Settings" panel?

Anyway, thanks a million for this exellent plugin.

--
Dennis Lundberg

3 comments
Comment actions Permalink

>The InspectionGadgets plugin just blows me away. It is awesome. I ran it
>some stable production code and it finds all kinds of stuff that
>could/should be fixed.

Thanks, glad you like it. I'm really quite pleased with how it's turning out.

>For fun I enabled all of the inspections and
>then removed the ones that didn't matter to me.

Unless you're a considerably better coder than I, that probably resulted in hundreds if not thousands of warnings. The full IG suite is extremely picky.

>The output window have the categories sorted
>alphabetically, but when you're configuring the
>inspections the are in some random (?) order.

Good call. At present, I'm alphabetizing within category, but the categories are in what used to be a logical order. Better to alphabetize the categories, which I'll implement in the next release (probably around New Years, looking at my schedule).

>Another thing that strikes me as a bit odd is the fact
>that you have to "Inspect Code..." to be able to get to >the configuration screen. Is there a special reason for >not using the standard "Settings" panel?

Aren't you in for a treat. There's two ways to configure inspections in IDEA, one for each mode of operation. The first is the "Inspect Code...", which you've found. That's best for running batch inspections over large chunks of your project, and getting the error report you've seen. You can configure multiple different code inspection reports, each one named. The second mode is more local, but more powerful. Under "Settings", go to the "Errors" panel. There you can configure nearly all of the inspections for on-line reporting. If you turn on an inspection in the "Errors" panel, any offending constructs will be highlighted in the editor, and be marked as yellow or red lines in the right gutter (your option on color). This will also cause the file error box in the upper right of the editor to show as yellow or red if any of the selected errors are found in the file. In essence, this means you can have the same sort of immediate visual feedback and navigational support that IDEA give you for compile issues for almost any of the inspections.

One important note. The first screen or so of inspections in the "Inspect Code..." configuration screen are built-in to IDEA, not a part of the InspectionGadgets plugin. JetBrains did all the hard work of setting up the framework and GUI for both on-line and off-line inspections, I just added 225 or so instances of them. If you still have issues with the GUI, it might better be addressed to them.

--Dave "Another satisfied customer. And be sure to try Intention Power Pack!" Griffith

0
Comment actions Permalink

On 2003/12/23 02:37, Dave Griffith wrote:
>> The output window have the categories sorted alphabetically, but
>> when you're configuring the inspections the are in some random (?)
>> order.


Good call. At present, I'm alphabetizing within category, but the
categories are in what used to be a logical order. Better to
alphabetize the categories, which I'll implement in the next release
(probably around New Years, looking at my schedule).


I made my own build with alphabetized categories and fixes using the
sources you provided in the Intellij wiki, I hope that's ok?
Also, did you see my post about a bug and fix here:
http://www.intellij.net/forums/thread.jsp?forum=18&thread=59805&tstart=0&trange=15#651332
?

Best Regards,
Bas

0
Comment actions Permalink


Build your own is fine. I'll be releasing 0.0.8 in a few minutes, though, and it has category sorting in it, along with bugfixes and 11 new inspections.

--Dave

0

Please sign in to leave a comment.