VS Code Extensions
S

SM - Salesforce DevOps

by selvas

Automate Salesforce DevOps workflows — authentication, scratch org management, deployment, data seeding, export, and metadata validation — all from VS Code.

Downloads

9

Rating

(0)

Version

0.1.0

Last updated

Jun 15, 2026

Automate Salesforce DevOps workflows directly from Visual Studio Code. Authenticate orgs, manage scratch orgs, deploy source, seed data, export data, and validate metadata — all without leaving your editor.

Features

  • Sidebar Task Tree — View all tasks from your .devx config with run buttons and status badges
  • Task Runner Panel — Interactive webview with forms to configure and execute tasks
  • 16 Commands — Quick access to every Salesforce operation via the Command Palette
  • Status Bar — See the currently selected org at a glance
  • .devx IntelliSense — JSON schema validation and autocomplete for .devx config files
  • Context Chaining — Tasks share context (e.g., auth sets the org, deploy uses it)

Getting Started

  1. Install the extension
  2. Open a folder containing a .devx config file (or create one via DEVX: Create .devx Config File)
  3. Click the DEVX icon in the Activity Bar to see your tasks
  4. Click ▶ on any task to run it

Requirements

  • Salesforce CLI (sf) must be installed and available in your PATH
  • Node.js 18+
  • A .devx configuration file in your workspace root

Extension Settings

Setting Default Description
devx.configPath .devx Path to the .devx configuration file
devx.logLevel FINE Debug log level (NO_DEBUG, FINE, FINER, FINEST)
devx.autoRefresh true Auto-refresh task tree when .devx changes
devx.showStatusBar true Show selected org in the status bar

Available Commands

Command Description
DEVX: Run Task Run a specific task
DEVX: Run All Tasks Execute all tasks in sequence
DEVX: Stop Running Task Cancel the current task
DEVX: Authenticate Org Quick auth (web or JWT)
DEVX: Create Scratch Org Create a new scratch org
DEVX: Delete Scratch Org Delete a scratch org
DEVX: Deploy Source Deploy Salesforce source
DEVX: Export Data Export data as JSON tree
DEVX: Seed Data Import seed data
DEVX: Select Org Switch active org
DEVX: Edit .devx Config Open the config file
DEVX: Create .devx Config File Create a new config
DEVX: Refresh Tasks Reload the task tree
DEVX: Add Task Add a new task to the config
DEVX: Delete Task Remove a task from the config
DEVX: Show Output Open the DEVX output channel

The .devx Configuration File

{
  "main": {
    "tasks": [
      {
        "task": "auth",
        "options": {
          "type": "web"
        }
      },
      {
        "task": "createScratch",
        "options": {
          "edition": "developer",
          "duration": "7"
        }
      },
      {
        "task": "deploy",
        "options": {
          "sourceDir": "force-app",
          "targetOrg": "$STDIN"
        }
      }
    ]
  }
}

Special Option Values

Value Behavior
"$STDIN" Prompts for input via VS Code InputBox
"$ENV_VAR" Reads from environment variable
Any string Used as-is

Supported Tasks

Task Description
auth Authenticate via web login or JWT
createScratch Create a scratch org
deleteScratch Delete a scratch org
deploy Deploy source code
export Export data as JSON tree
seed Import seed data from JSON files
select Switch active org
readComponentList Read components from xlsx/csv
retrieveMetadataList Fetch org metadata listings
validateApprovedComponentList Validate components against approved list

Development

# Install dependencies
npm install

# Compile
npm run compile

# Watch mode
npm run watch

# Package for distribution
npm run package

Press F5 to launch the Extension Development Host for testing.

License

MIT

Related extensions