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