Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>SFDiffNew to Visual Studio Code? Get it now.
SFDiff

SFDiff

Nebulity

|
28 installs
| (1) | Free
Compare Salesforce Permission Sets with ease
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

SFDiff - Salesforce Permission Set Comparison Tool

A VS Code extension that compares Salesforce Permission Set with version on the org, showing missing unique and differing entries, enabling granular diffing of individual permission set elements.

Motivation

When comparing permission sets, you often want to see the differences between the two versions. But in standard diff tool you see reorded all the entries, including the ones that were not changed. All changes come in blockes, and individual permissions can't be comfortably applied. So once annoied by this, I decided to create this extension.

bad-diff.png

Prerequisites

For org comparison functionality, you need:

  • Salesforce CLI (SF CLI) v2.x installed and configured
  • A default org set using sf config set target-org <your-org-alias> or with VS Code Salesforce Extension
  • Note: The extension uses the modern sf CLI, not the legacy sfdx CLI

How to use

SFDiff can be called from the Command Palette with command "SFDiff: Compare with Org" or click on icon in the Editor Context Menu.

Base is the permission set on your local file. Reference is the permission set on the org. Each action is applied to the local - base permission set. SFDiff shows only missing, unique and differing entries, same permissions present in both base and reference are hidden.

Basic Usage

Basic Usage

Add Individual Permissions

Add specific permissions from the org to your local file with a single click.

Add Permission

Remove Individual Permissions

Remove specific permissions from your local file that don't exist in the org.

Remove Permission

Pull Individual Permissions

Pull specific permissions from the org to update your local file with the latest values.

Pull Permission

Apply All Missing Permissions

Add all missing permissions from the org to your local file in one action.

Apply All

Undo All Changes

Revert all changes made during the current session.

Undo All

Search Permissions

Quickly find specific permissions in large permission sets.

Search

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft