
1
2
3
4
5
of 1
Apex PMD
Free
Visual Studio Code Extension
1,551
Views
Apex PMD allows you to run static analysis on your Apex and Visualforce files. We can run Apex PMD on file open, on file save and there are a lot of other options that you can configure.
Additional Information
Developer:
Charlie Jonas
Allows you to run Apex Static Analysis directly in vscode on apex & VisualForce files.
Current Actions Supported
- Run analysis on file open
- Run analysis on file save
- Run analysis on file change (new!)
- Run analysis on entire workspace
- Run analysis on single file
- Ability to define your own ruleset
System Requirements
- Must have JRE >= 1.7 installed and in path
- See PMD System Requirements for more details
Configuration
rulesets
(optional): set to override default ruleset (see "Defining your own ruleset" for more details)runOnFileOpen
: run every time a file is opened in vscoderunOnFileSave
: run every time a file is savedrunOnFileChange
: Run when a file is changed. NOTE: this is "debounced" to prevent performance issues. Delay can be adjusted viaonFileChangeDebounce
.priorityErrorThreshold
: Determines at what priority level 'errors' will be added. Anything less will be a warning or hintpriorityWarnThreshold
: Determines at what priority level 'warnings' will be added. Anything less will be a hintenableCache
: Creates a cache file for PMD to run faster. Will create a .pmdCache file in your workspacepmdBinPath
(prev.pmdPath
) (optional): set to override the default pmd binaries. This should point to the PMD folder which contains folderslib
andbin
. Most likely it is calledlibexec
.additionalClassPaths
(optional): set of paths to be appended to classpath. Used to find jar files containing custom rule definitions. Can be absolute or relative to workspace.commandBufferSize
Size of buffer used to collect PMD command output (MB), may need to be increased for very large projects
×

1
2
3
4
5
of 1
Popular Salesforce Apps and Tools
-
This extension is designed to support developers with Salesforce DX projects. Provides quick visual access to scratch orgs, sandboxes, and other useful features.FreeVisual Studio Code Extension1,038 Views
-
App of the DayGearset is the one-stop-shop for Salesforce DevOps that everyone loves, whatever their role. No need for complicated toolchains or teams working in silos.Free Flat fee per month. No hidden costs. You can get a Free 30 day trial.Application/Solution2,216 Views
-
This extension is a companion for SFDC (Salesforce.com) development with Visual Studio Code. It is targeted at developers who want a lightweight and fast way to work with their Salesforce files.FreeVisual Studio Code Extension1,238 Views