Skip to content

Commit 5ce4a76

Browse files
committed
#1351 Manually checking code with PMD only works if PMD is activated for the project
1 parent 2a11411 commit 5ce4a76

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

ReleaseNotes.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Eclipse Update Site: <https://sourceforge.net/projects/pmd/files/pmd-eclipse/upd
66

77
## ????: 4.0.7.v????
88

9+
* Fixed Manually checking code with PMD only works if PMD is activated for the project ([bug #1351](https://sourceforge.net/p/pmd/bugs/1351/))
910
* Fixed Check code after saving runs PMD unnecessarily ([bug #1350](https://sourceforge.net/p/pmd/bugs/1350/))
1011

1112
## 01-April-2015: 4.0.6.v20150401-1945

net.sourceforge.pmd.eclipse.plugin/src/main/java/net/sourceforge/pmd/eclipse/ui/actions/PMDCheckAction.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ private void setupAndExecute(ReviewCodeCmd cmd, int count) throws CommandExcepti
129129
cmd.setTaskMarker(true);
130130
cmd.setOpenPmdPerspective(PMDPlugin.getDefault().loadPreferences().isPmdPerspectiveEnabled());
131131
cmd.setUserInitiated(true);
132+
cmd.setRunAlways(true);
132133
cmd.performExecute();
133134
}
134135

0 commit comments

Comments
 (0)