PwC Extension Pack for Salesforce is a collection of popular extensions that can help write, test and debug APEX in Visual Studio Code. These tools provide features for working with development orgs (scratch orgs, sandboxes, and DE orgs), Apex, Aura components, and Visualforce.
Before you set up Salesforce Extensions for VS Code, make sure that you have these essentials.
The PwC Salesforce Extension Pack extension installs these extensions.
Salesforce CLI Integration This extension (salesforce.salesforcedx-vscode-core) interacts with Salesforce CLI to provide core functionality.
Apex This extension (salesforce.salesforcedx-vscode-apex) uses the Apex Language Server to provide features such as syntax highlighting and code completion.
Interactive Debugger This extension (salesforce.salesforcedx-vscode-apex-debugger) enables VS Code to use the real-time Apex Debugger with your scratch orgs or to use ISV Customer Debugger for your subscribers’ orgs.
Apex Replay Debugger This extension (salesforce.salesforcedx-vscode-apex-replay-debugger) enables VS Code to replay Apex execution from Apex debug logs.
Lightning Web Components This extension (salesforce.salesforcedx-vscode-lwc) supports Lightning web component bundles. It uses the HTML language server from VS Code.
Aura Components This extension (salesforce.salesforcedx-vscode-lightning) supports Aura component bundles. It uses the HTML language server from VS Code.
Visualforce This extension (salesforce.salesforcedx-vscode-visualforce) supports Visualforce pages and components. It uses the Visualforce Language Server and the HTML language server from VS Code.
SOQL This extension (salesforce.salesforcedx-vscode-soql) enables you to interactively build a SOQL query via a form-based visual editor, view the query as you build, and save the output to a .csv or .json file.
Salesforce Lightning Design System (SLDS) Validator This extension (salesforce.salesforcedx-vscode-slds) simplifies working with the Salesforce Lightning Design System (SLDS). It provides code completion, syntax highlighting and validation with recommended tokens and utility classes.
SLDS Validator This extension (salesforce.salesforce-vscode-slds) working with Salesforce Lightning Design System (SLDS) in Aura and Lightning With this extension, you get Validation with recommended tokens and utility classes, Syntax highlighting, Code completion and Context awareness.
Apex PMD This extension (chuckjonas.apex-pmd) is a static source code analyzer. It finds common programming flaws like unused variables, empty catch blocks, unnecessary object creation, and so forth.
GitHub Copilot This extension (github.copilot) provides autocomplete-style suggestions from an AI pair programmer as you code. You can receive suggestions from GitHub Copilot either by starting to write the code you want to use, or by writing a natural language comment describing what you want the code to do.
GitHub Copilot Chat This extension (github.copilot-chat) is a companion extension to GitHub Copilot that houses preview Chat features: Chat view, Inline Chat, Quick Chat.
Salesforce Package.xml Generator Extension This extension (vignaeshrama.sfdx-package-xml-generator) provides a User Interface to choose metadata components for Package.xml file for development against sandboxes or DE orgs (Org Development Model with VS Code).
Salesforce Package.xml Generator Extension This extension (drossi750.vscode-salesforce-toolkit) is designed to support developers with Salesforce DX projects. Provides quick visual access to scratch orgs, sandboxes, and other useful features.
Prettier - Code formatter This extension (esbenp.prettier-vscode) is an opinionated code formatter. It enforces a consistent style by parsing your code and re-printing it with its own rules that take the maximum line length into account, wrapping code when necessary Support: JavaScript · TypeScript · Flow · JSX · JSONCSS · SCSS · Less · HTML · Vue · Angular HANDLEBARS · Ember · Glimmer · GraphQL · Markdown · YAML.
Apex Log Analyzer This extension (financialforce.lana) makes performance analysis of Salesforce debug logs much easier and quicker. Visualize code execution via a Flame chart and Call Tree, identify and resolve performance and SOQL/DML problems via Method and Database Analysis.
Salesforce Apex Code Runner This extension (josephallen.apex-code-runner) is a simple, fast and graceful tool for running .apex scripts within VS Code. This extension executes .apex scripts and returns cleaner results than the Salesforce Extensions Pack.
Salesforce LWC Short Keys This extension (nik-creation.lwc-salesforce) contains code snippets (shortcut keys) for salesforce Lightning Design System and JavaScript in ES6 syntax for Vs Code editor (supports HTML, JavaScript and XML).
LWC Builder This extension (ninoish.lwc-builder) contains code snippets (shortcut keys) for salesforce Lightning Design System and JavaScript in ES6 syntax for Vs Code editor (supports HTML, JavaScript and XML).
XML This extension (redhat.vscode-xml) provides support for creating and editing XML documents, based on the LemMinX XML Language Server.*
Auto Rename Tag This extension (formulahendry.auto-rename-tag) is automatically rename paired HTML/XML tag.
Code Spell Checker This extension (streetsidesoftware.code-spell-checker) works well with code and documents. The goal of this spell checker is to help catch common spelling errors while keeping the number of false positives low.
Error Lens This extension (usernamehw.errorlens) is Highlight lines containing diagnostics, Append diagnostic as text to the end of the line, Show icons in gutter, Show message in status bar.
Trailing Spaces This extension (shardulm94.trailing-spaces) is highlight trailing spaces and delete them in a flash.
Path Autocomplete This extension (ionutvmi.path-autocomplete) is Provides path completion for visual studio code.
Apex Code Coverage Visualizer This extension (modicatech.apex-code-coverage-visualizer) shows a summary of the code coverage for all APEX classes in the current project. The extension relies on the official Salesforce Extensions test runner which creates the necessary files used to show the code coverage.
Salesforce Custom Labels Creator This extension (beyondthecloud.salesforce-custom-labels-beyondthecloud) allows you to easily add and sort Custom Labels from Salesforce in your Visual Studio Code.
ESLint This extension (dbaeumer.vscode-eslint) analyzes the Javascript code
To report issues with Extensions for VS Code, suggest a feature, or any help, feel free to contact at: