A new PMD for Eclipse plugin version has been released.
It is available via the update site: https://dl.bintray.com/pmd/pmd-eclipse-plugin/updates/
This is a bugfix release.
New and noteworthy
- Filtering by priority has been revamped. In both views "Violation Outline" and "Violation Overview" you can
enable and disable the priorities. Changes in one view affects the other view as well as the markers displayed
in the files. The selected priorities are stored in the preferences. PMD is not rerun when the priority filter
is changed. The markers are only hidden instead. Changing the priority filter therefore affects the settings under
General, Editors, Text Editors, Annotation for PMD Marker Annotations.
Fixed Issues
- #56: PMD not filtering
- #85: Gutter Markers not Configured Color
- #96: Wrong auxclasspath if project is stored outside of workspace
API Changes
- In
net.sourceforge.pmd.eclipse.plugin.UISettings
the following methods are deprecated for removal:reloadPriorities()
markerFilenameFor(RulePriority)
relativeMarkerFilenameFor(RulePriority)
markerDescriptorFor(RulePriority)
markerImgDescriptorsByPriority()
createRuleMarkerIcons(Display)
descriptionFor(RulePriority)
descriptorFor(RulePriority)
priorityFor(int)
getPriorityLabels()
- In
net.sourceforge.pmd.eclipse.ui.RuleLabelDecorator
the methodreloadDecorators()
is deprecated
for removal. - In
net.sourceforge.pmd.eclipse.ui.ShapePainter
the methoddisposeAll()
is deprecated for removal. - In
net.sourceforge.pmd.eclipse.ui.priority.PriorityDescriptor
the following methods are deprecated
for removal:getImageDescriptor()
getImage(Display)
getImage(Display, int)
- In
net.sourceforge.pmd.eclipse.ui.priority.PriorityDescriptorCache
the methoddumpTo(PrintStream)
is
deprecated for removal. - The whole class
net.sourceforge.pmd.eclipse.ui.views.AbstractViolationLabelProvider
is deprecated
for removal. - In
net.sourceforge.pmd.eclipse.plugin.PMDPlugin
the methodgetOpenFiles()
is deprecated
for removal. - The class
net.sourceforge.pmd.eclipse.ui.views.PriorityFilter
must not be instantiated directly
in the future. Therefore the public constructor has been deprecated. Additionally the following methods
are deprecated for removal:setPriorityFilterList(List<Integer>)
getPriorityFilterList()
addPriorityToList(Integer)
removePriorityFromList(Integer)
setPriorityFilterListFromString(String, String)
getPriorityFilterListAsString(String)
- In
net.sourceforge.pmd.eclipse.ui.views.ViolationOverview
the methodgetPriorityFilterList()
is deprecated for removal. - The whole class
net.sourceforge.pmd.eclipse.util.PriorityUtil
is deprecated for removal.