From 56e0c323343846854385d9df59cc8adb5b924e09 Mon Sep 17 00:00:00 2001 From: Dale Anson Date: Mon, 14 Dec 2009 00:33:58 +0000 Subject: [PATCH] Documentation update. git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7032 51baf565-9d33-0410-a72c-fc3788e3496d --- pmd-jedit/PMDPlugin/doc/jedit.html | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pmd-jedit/PMDPlugin/doc/jedit.html b/pmd-jedit/PMDPlugin/doc/jedit.html index af63f57933..1cf96fef98 100644 --- a/pmd-jedit/PMDPlugin/doc/jedit.html +++ b/pmd-jedit/PMDPlugin/doc/jedit.html @@ -54,7 +54,7 @@ Take a look at the Release Notes and Changelog for m

CPD, the Copy/Paste Detector

The PMD plugin provides access to the Copy/Paste Detector. This can help identify and eliminate duplicate code in a project. The heuristics used in the detection are a little "fuzzy" in that it is able to detect code that is very close to the same as code found elsewhere and can identify duplicate code regardless of the formatting of whitespace.

-The CPD is very fast. It can also work on a variety of languages. Currently supported languages are Java, JSP, PHP, C/C++, Fortran, and Ruby. +The CPD is very fast. It can also work on a variety of languages. Currently the fully supported languages are Java, JSP, PHP, C/C++, Fortran, Ruby, and Javascript. Additionally, CPD can work with just about every file mode supported by jEdit, although results may not be perfect as the modes not specifically supported use a generic tokenizer that may not suitable for a particular language.

Custom Rules

Starting 2.1, you can now add Custom Defined Rulesets with PMD plugin. Previously, if you want to use your own rulesets with the PMD plugin, you had to unjar the pmd.jar file & add your ruleset defination in the jar file & re-jar it & use it. But this procedure had to be repeated whenever a new PMD is out. But not anymore. Now you can simply point PMD plugin to your custom rulesets.xml file & drop your custom ruleset jars in either of jEdit jars directory(either system or user). Once this is done, you will be able to manipulate your Custom Rulesets just the way like the built-in ones.

@@ -70,6 +70,12 @@ As of version 3.0, the PMD Plugin provides access to the PMD Rule Designer, whic

Release Notes & Changelog

+

3.2 (Dale Anson, Dec 2009)

+
    +
  1. Upgraded to PMD 4.2.6.
  2. +
  3. Adjusted CPD to work with just about all file modes supported by jEdit.
  4. +
  5. Moved all hard-coded strings to the property file so they can be localized.
  6. +

3.1 (Dale Anson)

  1. Display rule description along with example.