Skip to content

sgorbaty/AtomPMDPlugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

ATOM + PMD

  • Install Atom editor with build and linter plugins
  • Create .atom-build.js file and place it in your project folder
var PMD_REGEXP = "(?<file>[\\/0-9a-zA-Z\\._]+):(?<line>\\d+):(?<col>\\d+):\\s+(?<message>.+)";
var PMD_PATH = '~/pmd/pmd-dist/target/pmd-bin-5.5.2-SNAPSHOT/bin';

module.exports = {
  cmd: ''+PMD_PATH+'/run.sh pmd -d `pwd` -f atomtext -language apex -rulesets apex-security 2>/dev/null',
  name: 'PMDApex',
  sh: true,
  warningMatch: [
    PMD_REGEXP
  ]
}
  • Checkout PMD into ~/pmd
git clone [email protected]:sgorbaty/pmd.git
  • Build PMD
mvn clean package
  • Unzip PMD project
cd pmd-dist/target
unzip pmd-bin-5.5.2-SNAPSHOT.zip 
  • Hit F9 command from Atom

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors