PMD execution

The Welkin Suite offers you to set the automatic run of PMD checking your files before the build, as well as you are able to run it manually for any Apex file. In the first case, once you run the build any of available approaches, The Welkin Suite will firstly check the files for set PMD rules.

To run the PMD checking manually, select a necessary file in the Solution Explorer, right-click and select the Scan with PMD option.

PMD execution from the context menu

Another way to execute checking is a special command in the context menu of a file. Right-click in the editor and select the Scan with PMD option (or use the Ctrl+R, Ctrl+P hotkey).

Scan PMD from the editor

All the detected errors, if any, are displayed in the Error panel and in the PMD Report window.

NB: You can face with java error after the PMD execution. This error means, that you need to install Java on your PC.

Java error

In this section:

This also may be useful:

Last modified: 2018/03/05 14:56

footer image