// extension 02: sf-dev-tools v1.4.0

Salesforce Developer Tools

The daily driver for Salesforce developers. Deploy single files or deltas, validate check-only before commit, rotate credentials via CI platform REST APIs, and export Confluence spaces to Markdown. Sixteen commands covering the full DevOps lifecycle, run from the editor instead of the terminal.

activity_bar_panels [01]

Connected Orgs Panel

CONNECTED ORGS
├── Sandboxes & Dev Orgs
├── ✓ sit  Connected (active)
├──   qa   Connected
└──   prod Connected
└── Scratch Orgs
└──   dev  Connected · expires 2026-05-01

Lists every authenticated org. Click the swap icon to set the active one. The active alias shows in the status bar, so you can switch without opening the panel.

Changed Files Panel

CHANGED FILES
├── Modified (2)
├── AccountService.cls
└── AccountTrigger.trigger
└── Added (1)
└── NewOpportunityService.cls

Shows the delta since the last deployed/<env> tag, or HEAD~1 if there is no tag yet. Right-click any file to deploy it on its own.

deploy_workflow [02]

Validate First, Deploy Once It Passes

Deploy modes: every deploy command asks for a mode: Deploy (saves to the org) or Validate (check-only) (verifies without changing anything). Validate first, deploy once it passes.
Deploy Current File
Open File → Active Org

Deploys the file open in the editor to the active org. Prompts for Deploy or Validate. Best for iterating on one component.

Delta Deploy
Changed Files → Active Org

Detects everything changed since the last deployed/<env> tag and deploys the whole delta. Runs scripts/delta-deploy.sh if present.

Deploy to Org
Right-Click Any File/Folder

Right-click a file or folder in the explorer to deploy that path. Handy for pushing a whole feature folder at once.

confluence_export [03]

Confluence Space to Markdown

A sidebar panel that exports any Confluence space to structured Markdown. No Python, no external tools: it runs inside the extension as a 4-step webview wizard, and you choose exactly which pages to export from a collapsible tree before it starts.

CONFLUENCE EXPORT
└── Export Confluence Space

A panel in the Salesforce Dev Tools activity bar. Click the icon to open the wizard. The API token is saved to VS Code's encrypted SecretStorage and pre-filled next time. The destination folder is cleared before each run so stale pages never pile up.

Export wizard steps
Credentials
Enter the Confluence URL, username and API token. Test Connection validates and reports how many spaces you can reach.
Export options
Pick the space from the live API, choose an output folder via the OS dialog, format as Markdown.
Page selection
All pages load as a collapsible tree. Tick individual pages or use Select All / Deselect All. Only ticked pages export.
Progress
A live page-by-page log. Cancel any time. Summary shown on completion.
all_commands [04]

Sixteen Commands

Command What it does
SF Dev: Switch Active OrgQuick pick across all authenticated orgs
SF Dev: Deploy Current File to OrgDeploys the open file, prompts Deploy/Validate
SF Dev: Deploy to OrgRight-click file/folder, prompts Deploy/Validate
SF Dev: Deploy Changed Files (Delta)Changed since the deploy tag, prompts Deploy/Validate
SF Dev: Validate Deploy (Check Only)Check-only run of the whole force-app directory
SF Dev: Run All Apex TestsRuns all local tests; results in the output panel
SF Dev: Run Apex Tests for Current FileRuns the test class matching the open file
SF Dev: Check Test CoverageReports org-wide and per-class Apex coverage
SF Dev: Retrieve Metadata from OrgPulls metadata using retrieve.xml or force-app
SF Dev: Set Up CI/CD PipelineFull pipeline setup wizard (works with Pipeline Manager)
SF Dev: Add Pipeline EnvironmentAdds an org/branch without touching YAML
SF Dev: Rotate Pipeline CredentialsRefreshes expired SFDX Auth URLs: automated via API for GitHub, Bitbucket and GitLab, guided manual update for Azure DevOps and Jenkins
SF Dev: Enable Bitbucket PipelinesTurns on Bitbucket Pipelines via REST API
SF Dev: Generate package.xmlRuns sf project generate manifest on the source directory
SF Dev: Initialise Deploy TagCreates deployed/<alias> tags at HEAD to set the delta baseline
SF Dev: Export Confluence SpaceOpens the 4-step Confluence export wizard
pre_commit_workflow [05]

Recommended Pre-Commit Workflow

01
Make changes locally

Edit Apex, LWC, flows or any Salesforce metadata in the editor as usual.

02
Deploy Changed Files → Validate

Choose Validate (check-only). The org verifies the deployment without saving anything, catching errors before they leave your machine.

03
Review the output

Check the SF Dev: Delta Deploy output channel and fix anything the org flags.

04
Commit and push

Once validation passes, commit. The CI pipeline runs the same deployment against the target environment.

changelog [06]
v1.4.0
25/04/2026
Confluence export refinements

Confluence Export improvements: 4-step wizard with a page-selection tree (Select All / Deselect All), clear-before-export to drop stale pages, attachment CDN redirects followed, saved token accepted at validation, and esbuild bundling to keep node_modules out of the VSIX.

v1.3.0
24/04/2026
Confluence space export

Confluence Export: 4-step webview wizard exports any space to Markdown with images. Encrypted token storage, HTTPS enforcement, SSRF protection.

v1.2.0
22/04/2026
Pipeline management commands

Add Pipeline Environment, Rotate Pipeline Credentials, Enable Bitbucket Pipelines, Generate package.xml, Initialise Deploy Tag.

v1.1.0
22/04/2026
Pipeline setup wizard

Pipeline setup wizard: auto-fetches auth URLs, registers them via the provider REST API, and writes the pipeline files and scripts.

v1.0.1
20/04/2026
Deploy mode picker

Deploy mode picker on every deploy command: Deploy or Validate (check-only).

v1.0.0
19/04/2026
Initial release

Initial release: Connected Orgs panel, Changed Files panel, status bar, and the deploy / validate / test / retrieve commands.