O'Reilly logo

DevOps for Salesforce by Nagraj Gornalli, Priyanka Dive

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

PMD static analysis for Salesforce Apex using a Visual Studio (VS) Code extension

Here, we will learn to analyze directly in VS Code on Apex and Visual force files. First, you have to install Visual Studio Code on your machine. (We already learned how to install VS Code in Chapter 3, Deployment in Salesforce).

You need to perform the following steps:

  1. Open Visual Studio Code and click on Extensions (Ctrl + Shift + X):
  1. In Search extension in Market Place, enter pmd:
  1. Select Apex PMD and click Install:
  1. Once installation is complete, click ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required