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.
- 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)
- Install the extension
- Open a folder containing a
.devx config file (or create one via DEVX: Create .devx Config File)
- Click the DEVX icon in the Activity Bar to see your tasks
- Click ▶ on any task to run it
- Salesforce CLI (
sf) must be installed and available in your PATH
- Node.js 18+
- A
.devx configuration file in your workspace root
| 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 |
| 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 |
{
"main": {
"tasks": [
{
"task": "auth",
"options": {
"type": "web"
}
},
{
"task": "createScratch",
"options": {
"edition": "developer",
"duration": "7"
}
},
{
"task": "deploy",
"options": {
"sourceDir": "force-app",
"targetOrg": "$STDIN"
}
}
]
}
}
| Value |
Behavior |
"$STDIN" |
Prompts for input via VS Code InputBox |
"$ENV_VAR" |
Reads from environment variable |
| Any string |
Used as-is |
| 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 |
# 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.
MIT