Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Salesforce SOQL EditorNew to Visual Studio Code? Get it now.
Salesforce SOQL Editor

Salesforce SOQL Editor

sweety kumari

|
153 installs
| (0) | Free
Write and execute SOQL queries against Salesforce orgs with live results, auto-complete, query management, and a REST Explorer
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

SOQL Scratchpad

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

Requirements

  • Salesforce CLI (sf) must be installed
  • At least one authenticated Salesforce org (sf org login web)
  • A default target org set (sf config set target-org <username>)

Usage

  1. Open the command palette (Ctrl+Shift+P / Cmd+Shift+P)
  2. Run SOQL Scratchpad: Open Query Editor
  3. 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

Then open the SOQL Scratchpad and start querying!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft