Write and execute SOQL queries against Salesforce orgs directly from VS Code — with live results, auto-complete, and query management.
Latest update — 0.3.9
DELETE and HEAD no longer fail with No 'mode' found in 'body' entry
The delete confirmation and any REST error now show in the response area
0.3.8
REST Explorer, on the tab after Objects.
Call the connected org with GET, POST, PUT, PATCH, DELETE, or HEAD
Set the resource path, optional headers, and a request body for POST, PUT, and PATCH
Reset returns to /services/data/v{API version}. Up moves to the parent path
Resource links in a response open with GET
DELETE asks you to confirm in the panel before it is sent
A successful POST, PUT, PATCH, or DELETE shows a completion message. An empty HTTP 200 still counts as success
Requests use your existing Salesforce CLI login. Paths must start with /services/
Features
Execute SOQL Queries — Run queries against any authenticated Salesforce org and view results in a sortable table
Auto-Complete — Get suggestions for Salesforce objects and fields as you type
Save & Manage Queries — Save frequently used queries for quick access
Query History — Automatically tracks executed queries
Export to CSV — Export query results with one click
Format Queries — Auto-format your SOQL for readability
Object Browser — Browse available Salesforce objects and their fields
REST Explorer — Call Salesforce REST resources (GET, POST, PUT, PATCH, DELETE, HEAD) on the connected org, then follow /services/ links in the response
At least one authenticated Salesforce org (sf org login web)
A default target org set (sf config set target-org <username>)
Usage
Open the command palette (Ctrl+Shift+P / Cmd+Shift+P)
Run SOQL Scratchpad: Open Query Editor
Or use the keyboard shortcut: Ctrl+Shift+Q / Cmd+Shift+Q
Getting Started
# Install Salesforce CLI
npm install -g @salesforce/cli
# Authenticate an org
sf org login web
# Set default org
sf config set target-org your-username@example.com