Salesforce SOQL Runner (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.
- Direct links to Salesforce Lightning records.
- Export query results to CSV.
Development & Usage
- Open this folder in VS Code.
- 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.
- Connect to Salesforce and execute queries.
Packaging as VSIX
npm run package
Right-click the generated .vsix file in VS Code and choose Install from VSIX....
| |