All notable changes to the VS Code Apex PMD will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Full Changelog: https://github.com/ChuckJonas/vscode-apex-pmd/compare/v0.8.0...HEAD
- Upgrade PMD from 7.0.0 to 7.6.0 by @adangel in #176
- Bump braces from 3.0.2 to 3.0.3 by @dependabot in #168
- Bump webpack from 5.88.2 to 5.94.0 by @dependabot in #172
- Improve PMD update procedure by @adangel in #174
- Bump micromatch from 4.0.5 to 4.0.8 by @adangel in #175
Full Changelog: https://github.com/ChuckJonas/vscode-apex-pmd/compare/v0.7.0...v0.8.0
- Upgrade to PMD 7.0.0 #159
- Upgrade bundled PMD version to 7.0.0 by @adangel in #160
- Upgraded github actions and node by @adangel in #161
- Default ruleset not compatible with final PMD 7.0.0 #158
Full Changelog: https://github.com/ChuckJonas/vscode-apex-pmd/compare/v0.6.2...v0.7.0
- [ci] Run github actions and tests on all operating systems by @adangel in #150
- Improve marketplace integration - Rename CHANGELOG -> CHANGELOG.md by @adangel in #147
- Bump @vscode/test-electron from 1.6.1 to 2.3.4 by @adangel in #149
- CLASSPATH must only be quoted for Windows by @adangel in #151
- Quote pmdBinPath in case it contains spaces by @adangel in #152
- additionalClassPaths not being picked up for custom rules (regression in 0.6.1) #145
- Cannot execute PMD when user dir contains spaces #146
Full Changelog: https://github.com/ChuckJonas/vscode-apex-pmd/compare/v0.6.1...v0.6.2
- Check for "Cannot load ruleset" by @adangel in #141
- Update README.md - Intro sentence to get the command palette opened by @surfmuggle in #137
- Update dependencies by @adangel in #142
- Quote classPath to deal with spaces in workspaceRootPath by @adangel in #143
- remove settings
showErrors
,showStdOut
, andshowStdErr
. Output from PMD execution is always displayed in the output window. This helps to diagnose problems like ruleset loading errors.
- Error executing PMD when project folder uses spaces #139
- Static Analysis Failed - Cannot load ruleset #140
- @surfmuggle made their first contribution in #137
Full Changelog: https://github.com/ChuckJonas/vscode-apex-pmd/compare/v0.6.0...v0.6.1
- Add github actions workflow #132 @adangel
- Upgraded to PMD7! (7.0.0-rc3)
- WARNING: PMD6 is no longer supported via
pmdBinPath
setting. If you receive an error, please clear this setting!
- added ability to run on
xml
files #101 @nawforce - upgraded PMD to 6.42.0
- Added support for custom JRE path
- Upgraded PMD to 6.37.0 #93 @PawelWozniak
- upgraded PMD to 6.32.0
- bundled the extension
- upgraded PMD to 6.27.0
- upgraded PMD to 6.26.0 #78 @Raspikabek
- Ability to run PMD on file change
- Long overdue refactors to simplify code
- Removed unneeded pmd dist files (reduced package size by 80%!)
- upgraded to PMD 6.23
- upgraded to PMD 6.22
- added Cognitive Complexity to default rule-set
- removed Cyclomatic Complexity from default rule-set
- fixed stale readme link
- Upgraded vscode engine to 1.43.0 (min vscode version) + Upgraded to new test "framework"
- npm audit fix
- fixing bad documentation links
- fix issue with
cachePath
not working for windows - upgraded PMD to 6.21.0
- fix issue with
pmdBinPath
not working for relative url
- Link to Rule documentation
- Ruleset-Rulename in description
- showStdErr now defaults to true
- updated to PMD 6.17.0
- New Logo
- Removed clear diagnostics onDocumentClose
- Fixed tests
- Fixed issue with maxBuffer only partial run on very large projects
- Diagnostic Severity for issues <
priorityWarnThreshold
fromhint
toinformation
- Upgraded PMD bin to 6.13.0
- Updated default ruleset with new rules
- Ability to specify additional class paths to run custom rule jars (thanks @andrewgilbertsagecom)
- Can specify custom XPath rules (via 6.13.0)
- corrected version in changelog
- Ability to enable PMD caching for a faster analysis
- Upgraded csv parsing package
- Improved recovery handling of bad csv data
- Ignore problems in .sfdx generated files
- Settings auto-load on change. If you change settings you no longer need to reload VSCode
- Upgrade package to fix security issues
- New setting
apexPMD.rulesets
. This is a replacement for the deprecatedapexPMD.rulesetPath
setting. You can specify a list of rulesets you need to analyze your code against.
apexPMD.rulesetPath
setting is now deprecated. It still works for backward compatibility but consider moving to a newer settingapexPMD.rulesets
.
apexPMD.pmdBinPath
description is updated to reduce confusion over this setting.
- Added support for visualforce
- Extension now includes PMD binaries by default
- Progress UI for run on workspace with ability to cancel
- Ability to clear all "problems"
- Test Coverage
- Status Bar
- Fixed bug with
runOnSave
&runOnOpen
being switched - Fixed bug with
runOnOpen
causing pmd to run twice - Fixed bug with csv escaping
- renamed
pmdPath
setting topmdBinPath
- Updated default ruleset to latest
- Removed
Show Apex PMD Output
as vscode natively supports switching channels - removed
use default ruleset
setting in favor be just looking for a empty ruleset config - Cleaned up output and updated setting defaults
- Refactored code and added simple test coverage
- Ability to set a relative path to ruleset. You can now commit a ruleset to your repo.
- Debug ouput control. You can now change the detail level of the debug output: use
showErrors
,showStdErr
,showStdOut
settings - Added *.apxc to file extensions
- Replaced deprecated ref-values in rule-tags
- Fix: Added check to avoid "TypeError: Cannot read property 'substr' of undefined"
- Fix: Added clearing in problems tab in case there are no detected problems anymore