Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Bille's DevTools for SalesforceNew to Visual Studio Code? Get it now.
Bille's DevTools for Salesforce

Bille's DevTools for Salesforce

Andreas Bille Madsen

|
1 install
| (0) | Free
| Sponsor
A fast, joyful developer toolbar for Salesforce in VS Code — 1-click Anonymous Apex runner, Apex test runner, interactive SOQL table viewer, smart debug log filtering, and instant org switcher.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Bille's DevTools for Salesforce

A modern, fast, and joyful developer toolbar for Salesforce in Visual Studio Code — built to give developers 1-click speed, dedicated docked panels, and clean ergonomics.

License: MIT GitHub Buy Me A Coffee


💡 About This Project

Bille's DevTools for Salesforce was created by Andreas Bille as a passion, spare-time project.

The purpose is straightforward: to build a better developer experience for Salesforce developers working in VS Code. Rather than juggling complex terminal commands or struggling with heavy multi-step menus, Bille's DevTools puts 1-click execution buttons directly where you need them — on editor toolbars, in the status bar, and in dockable bottom panels that feel right at home alongside the Terminal and Output views.


⚡ Features

1. ⚡ 1-Click Anonymous Apex Runner

  • Scratchpad Launcher: Click Anon Apex on the status bar or press Ctrl+Alt+N (Cmd+Alt+N on Mac) to open a dedicated Anonymous Apex scratchpad instantly.
  • Toolbar Execution: Prominent Execute button in the editor title bar whenever viewing .apex or .cls files (Ctrl+Alt+A).
  • Selection Execution: Highlight any block of Apex code in any class, right-click, and select Execute Selected Anonymous Apex.
  • Smart Log Filter: Filters noisy execution logs to display only USER_DEBUG statements, governor limits tables, and formatted exceptions.
  • Docked Bottom Panel: Results appear docked as tabs in the bottom panel (alongside Terminal / Output) with optional side-by-side comparison.

2. 🧪 Apex Test Runner & Explorer

  • 1-Click Class Runner: Click the Run Apex Tests button in the editor toolbar (Ctrl+Alt+T) to run all tests in the active class.
  • Method-Level Run Button: Direct run button in the editor title slot to run only the test method currently under your cursor.
  • Test Tree Explorer: Dedicated sidebar view displaying test classes, method pass/fail status, assertion errors, stack traces, and run times.
  • Live Status Bar Pill: Live test counter in the status bar (e.g. ✔ 14/14 Tests or ✖ 1 Failed).

3. 🔍 SOQL Query Scratchpad & Data Viewer

  • 1-Click SOQL Runner: Open .soql files or select any SOQL string and hit the Execute SOQL Query icon (Ctrl+Alt+Q).
  • Interactive Data Viewer: Clean tabular view of query results with record counts, sticky column headers, and 1-click Copy JSON and Copy CSV buttons.
  • Direct Record Links: 1-click link to open any returned record ID directly in your Salesforce org.

4. 🏢 Org Browser & Connection Manager

  • Categorized Org Tree: Visual grouping for:
    • Production & Developer Orgs (login.salesforce.com)
    • Sandbox Orgs (test.salesforce.com)
    • Scratch Orgs
  • 1-Click Org Management:
    • + Add Sandbox Org: Prompts for alias and launches browser login via test.salesforce.com.
    • 🏢 Add Production Org: Prompts for alias and launches browser login via login.salesforce.com.
    • 🔗 Add Custom Domain: Prompts for custom My Domain URL.
  • Per-Org Actions:
    • 🌐 Open in Browser: Direct 1-click launch to your org homepage.
    • ★ Set as Default Target: Instantly make this org your default for deployments and tests.
    • ⚙️ Open Setup: Jump straight into Salesforce Lightning Setup.
    • 💻 Open Developer Console: Launch the Salesforce Developer Console in browser.
    • 🗑️ Disconnect / Log Out: Cleanly log out and remove the org.
  • Status Bar Indicator: Always displays your current active default org (SF: <alias>). Click to switch anytime.

5. 🚀 1-Click Deploy & Retrieve

  • Deploy: Direct upload icon in the editor toolbar for .cls, .trigger, .cmp, .js, .html, etc.
  • Retrieve: Direct download icon in the editor toolbar to fetch fresh source from the org.
  • CLI Deployment Guard: Optional safety confirmation before deploying to protected or production orgs.

⌨️ Default Keyboard Shortcuts

Shortcut (Windows / Linux) Shortcut (macOS) Command Description
Ctrl+Alt+L Cmd+Alt+L billeDevtools.authorizeOrg Authorize an Org (Web Login)
Ctrl+Alt+N Cmd+Alt+N billeDevtools.openAnonymousApex Open Anonymous Apex Scratchpad
Ctrl+Alt+A Cmd+Alt+A billeDevtools.executeAnonymousApex Execute Anonymous Apex in Editor
Ctrl+Alt+T Cmd+Alt+T billeDevtools.runCurrentTestClass Run Tests for Active Apex Class
Ctrl+Alt+Q Cmd+Alt+Q billeDevtools.executeSoqlQuery Run Active SOQL Query

🛠️ Requirements & Setup

Bille's DevTools works seamlessly alongside the official Salesforce CLI:

  • Salesforce CLI (sf): Bille's DevTools automatically detects and uses your authenticated orgs from the sf CLI.
  • Standalone / Demo Mode: If the CLI is not yet connected on the machine, Bille's DevTools provides simulated execution so you can explore all buttons, views, and panels immediately.

☕ Support the Project

If Bille's DevTools for Salesforce saves you time, helps you ship faster, or makes your daily Salesforce developer workflow in VS Code more enjoyable, please consider buying me a coffee!

Buy Me A Coffee

Every contribution is deeply appreciated and fuels new features, bug fixes, and continuous updates. Thank you! 💙


⚠️ Disclaimer

[!CAUTION] Use at your own risk: This extension is an independent, personal spare-time / community project developed for fun and convenience. It is not an official Salesforce product, nor is it endorsed, certified, or sponsored by Salesforce, Inc.

No Liability: The author (Andreas Bille) is not responsible or liable for how users choose to utilize this extension, code executed against Salesforce environments, metadata deployments, data mutations, deletions, or any other consequences resulting from its use. Users are solely responsible for testing and validating their actions in sandboxes before executing anything in production.


📄 License

This project is licensed under the MIT License.

Copyright (c) 2026 Andreas Bille

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft