Skip to content

Latest commit

 

History

History
41 lines (22 loc) · 1.42 KB

README.md

File metadata and controls

41 lines (22 loc) · 1.42 KB

Salesforce Diff

This extension allows you to diff metadata against a Salesforce org.

NOTE: Still in very early stages! Please be patient and help by submitting issues (or better yet, PR's!)

Features

  • Uses the default SFDX connect for the project
  • Supports all metadata1
  • Ability to select an org to diff with

demo

Requirements

  • You must have SFDX CLI installed
  • For non-apex metadata types, you must be working out of a salesforce-dx project.

Usage

Whenever a cls or *-meta.xml file is open, you'll see an the "SF Diff" icon in the upper left.

readme1

Clicking this will diff the file against the projects default org. If you alt/option + click, you can select the org to diff against.

You can also run either command directly from the pallet:

  • SF DIFF: Current Org
  • SF DIFF: Select an Org

Known Issues

  • Likely issues around multiple namespaces
  • non-apex metadata types is experimental. Might not work outside "default" sfdx packageDirectory. Hasn't been tested for all MD types.

Footnotes

  1. Still somewhat untested. To diff non-apex, you must run command SF Diff: Diff with Default Org from command pallet.