From 7169d12275dd4e8c8776fcbdd3497c36e1f0568d Mon Sep 17 00:00:00 2001 From: Tom Copeland Date: Mon, 21 Apr 2003 19:51:28 +0000 Subject: [PATCH] Updated docs to include Gel git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1843 51baf565-9d33-0410-a72c-fc3788e3496d --- pmd/xdocs/integrations.xml | 94 +++++++++++++++++++++++--------------- 1 file changed, 56 insertions(+), 38 deletions(-) diff --git a/pmd/xdocs/integrations.xml b/pmd/xdocs/integrations.xml index cd5626563d..f338efb167 100644 --- a/pmd/xdocs/integrations.xml +++ b/pmd/xdocs/integrations.xml @@ -11,36 +11,40 @@ - + - + - + - + - + - + - + - - + + + + + + @@ -117,6 +121,49 @@ you can change the plugin to prompt you for a directory to check by going to tha selecting the "Ask for Directory" checkbox.

+ +

+

+

+
+ +

Here's how to set up the PMD-Gel plugin:

+ +

That's pretty much it. Now you can open a Java project and click on Plugins->PMD and + PMD will run several of the rulesets on the source code in your project. Or, + if you don't have a project open, PMD will check the current file in the editor.

+

Note that the source code needs to be compilable before PMD can check it.

+

There's not a "real" - i.e., integrated into the same Java VM - plugin for IDEA, but using it as an IDEA External Tool works OK. Here's how to set it up:

@@ -138,35 +185,6 @@ works OK. Here's how to set it up:

be displayed in a window and hyperlinked into the correct file and line of code. I usually right-click on the message window title bar and unselect "autohide" so the window doesn't go away every time I fix something in the code window.

-
- -

-

-

To install the jDeveloper plugin, download the binary release and unzip it

IDE PackageMaintainerMaintainers
Eclipsepmd-eclipsepmd-eclipse Tom Burke, Philippe Herlin
Emacspmd-emacspmd-emacs Nascif Abousalh-Neto
JBuilderpmd-jbuilderpmd-jbuilder Dave Craine
Netbeans/Forte/Sun ONEpmd-netbeanspmd-netbeans Ole-Martin Mork, Gunnlaugur Thor Briem
JEditpmd-jeditpmd-jedit Jiger Patel
jDeveloperpmd-jdeveloperpmd-jdeveloper Tom Copeland
Mavenpmd-mavenSiegfried Goeschlpmd-mavenVincent Massol, Siegfried Goeschl
Gelpmd-gelTom Copeland
IntelliJ IDEA N/A Tom Copeland