Skip to content

A vscode extension to diff local metadata files with those on a salesforce org

License

Notifications You must be signed in to change notification settings

ChuckJonas/vscode-salesforce-diff

Repository files navigation

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.

About

A vscode extension to diff local metadata files with those on a salesforce org

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published