Salesforce Org Explorer (VS Code Extension)
Run SOQL queries directly inside VS Code with real-time autocompletion, Salesforce object label search, and query history persistence.
Features
- ⚡ SOQL Query Editor: Run queries against any Salesforce Org (Production, Developer Edition, or Sandbox).
- 🔍 Autocomplete & Search:
- Search Salesforce objects by User-Friendly Label (e.g. "Account", "Contact", custom labels) and insert the corresponding API Name.
- Search fields by any part of the field name (e.g.
status matches Status, LeadStatus, CleanStatus).
- 📜 Executed Queries History:
- Automatically saves executed queries.
- One-click load into editor or direct execution from history.
- Clear history or delete individual queries.
- 📊 Results Table & Export:
- View results in an interactive table styled to match your VS Code theme.
- Each org gets a dedicated
SOQL Results - <alias> tab when you run its first query (uses the username if no alias is set).
- Running another query brings that org's tab into focus; other orgs' results remain available in their own tabs.
- Direct links to Salesforce Lightning records.
- Export query results to CSV.
Development & Usage
- Install Salesforce CLI and authenticate each target org, for example:
sf org login web --alias my-org
- Open this folder in VS Code and install dependencies:
npm install
- Press
F5 to launch a new VS Code Extension Development Host window.
- In the new window:
- Press
Ctrl+Shift+P (or Cmd+Shift+P).
- Run
SOQL Runner: Open SOQL Runner.
- Select the target org from the org dropdown, then execute queries.
Packaging as VSIX
npm run package
Right-click the generated .vsix file in VS Code and choose Install from VSIX....
| |