Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>RapidForceNew to Visual Studio Code? Get it now.
RapidForce

RapidForce

Douglas Augusto

|
2 installs
| (0) | Free
The fastest and most comprehensive way to develop on Salesforce.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

🇺🇸 English (this file) | 🇧🇷 Leia em Português


RapidForce

The fastest and most comprehensive way to develop on Salesforce.

Create projects, generate metadata (Apex, Trigger, LWC, Aura, Visualforce), deploy/retrieve/delete, diff against your org, run Anonymous Apex and SOQL, run tests with coverage, browse org metadata, explore live schema, map Apex dependencies, open records/Setup by Id, analyze debug logs, manage organizations, and set up your development environment — all directly from the editor, without depending on the full Salesforce Extension Pack.

Key Features

Salesforce Project Creation

Quickly scaffold Salesforce DX projects using standard or empty templates.

RapidForce: Create Project

Metadata Generation

Generate metadata with a consistent UX (name → options → create and open in the editor):

Type Command
Apex Class (multiple templates) RapidForce: Create Apex Class
Apex Trigger (sObject + events) RapidForce: Create Apex Trigger
Lightning Web Component RapidForce: Create Lightning Web Component
Aura Component RapidForce: Create Aura Component
Visualforce Page RapidForce: Create Visualforce Page

Also available from the Explorer and editor context menus, on folders and files of the matching type.

Organization Management

  • Login to Salesforce orgs, choosing the endpoint (Production, Sandbox, or My Domain) — RapidForce: Login
  • List and set the default org (target-org) — RapidForce: List / Set Default Org
  • Quick open the org in the browser — RapidForce: Open Org
  • Default org status always visible in the status bar; click to switch quickly

Deploy, Retrieve, Delete, and Diff

Available from the Command Palette, Explorer, and editor menu, with scope resolved automatically (file, folder, multi-selection, or whole project):

  • Deploy — pushes source to the org; compile/component errors show up in the Output and Problems panel, with direct navigation to the line
  • Retrieve — pulls metadata from the org into the local project
  • Delete Source from Org — removes metadata from the org and deletes the local files (with a confirmation dialog)
  • Diff with Org — compares the local file with the current org version (Apex, Trigger, LWC, Aura, Visualforce)
  • Smart conflict retry — if deploy/retrieve fails due to a source-tracking conflict (or metadata outside the registry, such as GenOpAgentConfig/Agentforce), RapidForce detects it and offers to retry with --ignore-conflicts. This behavior is configurable (see Settings)

Org Browser

A dedicated panel in the RapidForce Activity Bar for exploring the connected org's metadata:

  • Tree navigation by types → folders → components (with support for foldered metadata: Report, Dashboard, Document, EmailTemplate)
  • Local 5-minute cache for fast browsing
  • Manual refresh of the tree
  • Retrieve directly from any node (an entire type, a folder, or a single component)

Debug Log Tail + Analyzer

Investigate Apex debug logs without leaving the editor:

  • Debug Logs tree in the RapidForce Activity Bar — lists recent logs from the default org (operation, user, status, time)
  • Filter the list by user and/or operation
  • Analyze a log (click an item or use the command): opens a webview with summary counts (USER_DEBUG, SOQL, DML, exceptions, code units) and governor limit usage
  • Filter lines in the analyzer by category or free text (class name, SOQL, etc.)
  • Click stack frames / class:line links to open the local Apex file at that line
  • Start Log Tail — streams live logs via sf apex tail log into Output → RapidForce, with categorized lines ([DEBUG], [SOQL], [DML], [EX], …)
  • Stop Log Tail and optionally Analyze Tail Buffer to open the accumulated stream in the Analyzer
RapidForce: Analyze Latest Debug Log
RapidForce: Start Log Tail
RapidForce: Stop Log Tail
RapidForce: Analyze Tail Buffer

Schema Explorer (live describe)

Explore the connected org’s data model without leaving the editor (Workbench/Object Manager alternative):

  • Tree: Standard / Custom Objects → Fields · Relationships · Record Types
  • Field details: type, required/unique/externalId/formula, references, createable/updateable
  • Picklist values (active/inactive/default) expandable under each picklist field
  • Relationships: lookups and child relationships
  • Record Types with master/default flags
  • Search objects (and fields when expanded)
  • Actions: Copy API name, qualified name (Account.Industry), SOQL snippet, Apex access (account.Industry)
  • Run SOQL directly into the SOQL Query Runner
  • Open in Setup (Object Manager)
  • Find usages in the local workspace (QuickPick → jump to line)
  • Unused badge on custom fields not referenced in local source; toggle “unused only” in the view title
RapidForce: Search Schema Explorer
RapidForce: Toggle Unused Fields Only

Open Record / Setup by Id

Paste any Salesforce Id (15 or 18 chars) and jump to the right place:

  • Resolves standard key prefixes locally (Account, Contact, Case, User, Profile, PermSet, ApexClass, Debug Log, …)
  • Resolves custom objects live via Tooling EntityDefinition (by KeyPrefix)
  • Validates 18-char checksum; normalizes 15 → 18
  • QuickPick actions: open Lightning/classic, copy URL/Id, run SOQL, focus Schema Explorer, analyze Debug Log (07L), open local Apex (.cls/.trigger), Open related lookups, Setup home
  • Input from Command Palette, selection, clipboard, or history (last 25 Ids)
  • Hover and CodeLens on Id literals in Apex / logs / plaintext
RapidForce: Open by Id
RapidForce: Open by Id from Clipboard
RapidForce: Open by Id History

Governor Limit HUD

After Anonymous Apex or Apex tests, RapidForce parses LIMIT_USAGE from the debug log and shows a live HUD:

  • Status bar chip with traffic-light colors (green / yellow / red) — SOQL, DML, CPU at a glance
  • Click the chip (or run the command) to open a webview with full metrics + recent history
  • Metrics: SOQL / rows, DML / rows, CPU, Heap, Callouts (+ SOSL, Email, Future, Queueable when present)
  • Thresholds configurable (warnThreshold 50%, critThreshold 80%)
  • Auto-open panel: never | onWarn (default) | always
  • Also: Governor HUD from Latest Log if you already have a log in the org
  • For tests, the HUD uses the latest debug log (best-effort — enable a Trace Flag for reliable capture)
RapidForce: Show Governor Limit HUD
RapidForce: Governor HUD from Latest Log

Dependency Map (Apex + LWC)

Local impact map of who depends on whom:

  • Indexes .cls / .trigger / LWC Apex imports (@salesforce/apex/...)
  • Tree: Depends on / Used by for the active file, Entry points (Trigger, @AuraEnabled, Batch, Queueable, Schedulable, REST, LWC), Orphans, Cycles
  • Interactive force-directed graph webview (drag, zoom, click to open)
  • Deploy dependency cluster (self + transitive outbound) via existing Deploy
  • Copy cluster paths · Show impact (inbound callers)
  • Heuristic static analysis (same spirit as Apex Go to Definition) — dynamic Type.forName won’t appear
RapidForce: Show Dependency Graph
RapidForce: Show Dependencies for Active File
RapidForce: Deploy Dependency Cluster

Apex Tests and Coverage

  • Run tests by class or method, via CodeLens (Run Test / Run All Tests) right above the declaration in the editor, or from the Command Palette
  • Code coverage calculated from test results
  • Visual highlighting of covered (green) and uncovered (red) lines in the editor
  • Status bar toggle to show/hide coverage highlights, plus the active class coverage % next to it
  • Clear coverage highlights with a single command
  • Automatic fallback to the official Apex test delegates when the Salesforce extension exposes them broken
RapidForce: Run Apex Tests
RapidForce: Toggle Coverage Highlights
RapidForce: Clear Coverage Highlights

Execute Anonymous Apex

Run Anonymous Apex blocks against the default org from:

  • The current selection in the editor
  • The content of the open file (.cls, .trigger, .apex)
  • A file chosen through a picker dialog

The result (compilation, exceptions, and debug log) appears in the Output → RapidForce panel.

SOQL Query Runner

Run SOQL queries against the default org from:

  • A selection in the editor
  • A .soql file (RapidForce's own SOQL language recognition)
  • A query typed directly in the Command Palette

Choose between REST API or Tooling API, optionally include deleted records (ALL ROWS), and view results in a formatted table in the Output (up to 200 rows), with the option to open the full JSON response.

Apex Go to Definition

A built-in "go to definition" navigation (Ctrl/Cmd+click or F12) for Apex code, used as a fallback when the official Apex Language Server can't resolve the symbol:

  • Locates class, trigger, interface, and enum declarations by file name
  • Resolves method calls (Type.method(...)) and local members (this.something)
  • Prioritizes files in the same package/folder when multiple candidates exist
  • Automatically ignores language keywords, system types (String, Database, Id, standard sObjects), and custom fields (__c, __mdt, etc.)

Setup Environment (dependency diagnosis and installation)

A single command to prepare a machine for Salesforce development:

RapidForce: Setup Environment

What it does:

  1. Diagnoses Node.js, npm, Salesforce CLI (sf), Java (JDK), Git, and the Salesforce language extensions, showing the result in Output → RapidForce
  2. Lets you choose what to install or fix from a selection list
  3. Automatically installs whatever is possible:
    • Windows: via winget (Node.js LTS, Microsoft OpenJDK, Git) and npm install -g @salesforce/cli
    • macOS: via Homebrew (node, openjdk, git) and npm
    • Salesforce extensions: via the editor's own API
  4. When automatic installation isn't possible, it opens the official download page for the tool
  5. Re-validates the environment after installation and warns if anything is still missing (usually resolved with a window reload, to refresh the PATH)

RapidForce also offers this command automatically on activation if it detects a missing required dependency, and whenever you try to run a command that needs sf while it's unavailable.


Installation

  1. Install RapidForce from the VS Code Marketplace (or install the .vsix locally).
  2. On install, the editor also automatically downloads the Salesforce language extensions (CLI Integration, Apex, LWC, Aura, Visualforce) — without the full Pack that includes Agentforce.
  3. Restart the editor if prompted.
  4. Confirm the Salesforce CLI (sf) is installed on your PATH, or run RapidForce: Setup Environment to install it automatically.
  5. Run RapidForce: Login to connect your first organization.
  6. (Optional) Set the default org with RapidForce: List / Set Default Org.

Getting Started

Set up the environment from scratch

New machine, no CLI/Node/Java installed? Run:

RapidForce: Setup Environment

Create a project

RapidForce: Create Project

Connect and set the org

RapidForce: Login
RapidForce: List / Set Default Org

Create metadata

RapidForce: Create Apex Class
RapidForce: Create Apex Trigger
RapidForce: Create Lightning Web Component
RapidForce: Create Aura Component
RapidForce: Create Visualforce Page

Deploy / Retrieve

In the Explorer, right-click a file or folder:

RapidForce: Deploy
RapidForce: Retrieve

Run Anonymous Apex

Select code in the editor (or open an .apex file) and run:

RapidForce: Execute Anonymous Apex

Run SOQL

Create a .soql file or select the query and run:

RapidForce: SOQL Query Runner

Example:

SELECT Id, Name FROM Account LIMIT 10

Run Apex tests

Open a *Test.cls class and use the Run Test / Run All Tests CodeLens, or:

RapidForce: Run Apex Tests

Available Commands

Command Description
RapidForce: Create Project Creates a Salesforce DX project
RapidForce: Create Apex Class Generates a new Apex class
RapidForce: Create Apex Trigger Generates an Apex Trigger
RapidForce: Create Lightning Web Component Generates an LWC
RapidForce: Create Aura Component Generates an Aura Component
RapidForce: Create Visualforce Page Generates a Visualforce Page
RapidForce: Deploy Deploys source to the org
RapidForce: Retrieve Retrieves metadata from the org
RapidForce: Delete Source from Org Removes metadata from the org and locally
RapidForce: Diff with Org Compares the local file with the org
RapidForce: Login Logs in to a Salesforce org
RapidForce: List / Set Default Org Lists orgs and sets the default one
RapidForce: Open Org Opens the org in the browser
RapidForce: Run Apex Tests Runs Apex tests (class or method)
RapidForce: Toggle Coverage Highlights Shows/hides coverage highlights in the editor
RapidForce: Clear Coverage Highlights Removes coverage highlights
RapidForce: Execute Anonymous Apex Runs Anonymous Apex against the org
RapidForce: SOQL Query Runner Runs a SOQL query against the org
RapidForce: Setup Environment Diagnoses and installs dependencies (CLI, Node, Java, Git, extensions)
RapidForce: Refresh Org Browser Refreshes the Org Browser
RapidForce: Retrieve Source (Org Browser) Retrieves from an Org Browser node
RapidForce: Refresh Debug Logs Reloads the Debug Logs tree
RapidForce: Analyze Debug Log Downloads and opens a log in the Analyzer
RapidForce: Analyze Latest Debug Log Analyzes the most recent org log
RapidForce: Filter Debug Logs Filters the Debug Logs tree by user/operation
RapidForce: Start Log Tail Starts live sf apex tail log streaming
RapidForce: Stop Log Tail Stops the live log tail
RapidForce: Analyze Tail Buffer Opens the tailed buffer in the Analyzer
RapidForce: Refresh Schema Explorer Reloads sObject list / describe cache
RapidForce: Search Schema Explorer Filters objects (and fields) by name
RapidForce: Toggle Unused Fields Only Shows only custom fields unused in local source
RapidForce: Copy API Name Copies object/field/picklist API name
RapidForce: Copy Qualified API Name Copies Object.Field
RapidForce: Copy SOQL Snippet Copies a ready SELECT … FROM snippet
RapidForce: Copy Apex Field Access Copies var.Field__c style access
RapidForce: Run SOQL from Schema Runs a snippet via the SOQL Query Runner
RapidForce: Open in Setup Opens Object Manager for the object/field
RapidForce: Find Usages in Workspace Finds local references to the API name
RapidForce: Open by Id Resolves a Salesforce Id and offers open/SOQL/Setup actions
RapidForce: Open by Id from Clipboard Same flow using the clipboard
RapidForce: Open by Id History Re-opens a recently used Id
RapidForce: Clear Open by Id History Clears the Id history
RapidForce: Show Governor Limit HUD Opens the governor limits panel
RapidForce: Governor HUD from Latest Log Parses limits from the org’s latest debug log
RapidForce: Clear Governor HUD History Clears stored HUD snapshots
RapidForce: Refresh Dependency Map Rebuilds the local Apex/LWC dependency index
RapidForce: Show Dependencies for Active File Focuses Depends on / Used by for the open file
RapidForce: Show Dependency Graph Opens the interactive dependency graph
RapidForce: Deploy Dependency Cluster Deploys the focused type + outbound deps
RapidForce: Copy Dependency Cluster Paths Copies relative paths of the deploy cluster
RapidForce: Show Dependency Impact Lists inbound callers (impact set)

In addition to the Command Palette, relevant commands appear in the Explorer and editor context menus (right-click), filtered by the selected file type, and in the Apex test class CodeLens.


Settings

Setting Values Default Description
rapidForce.ignoreConflicts ask | always | never ask How to handle source-tracking conflicts during deploy/retrieve. ask prompts when a conflict is detected (or Agentforce metadata outside the registry); always always passes --ignore-conflicts; never never ignores conflicts and fails the deploy/retrieve.
rapidForce.governorHud.autoOpen never | onWarn | always onWarn When to auto-open the Governor Limit HUD after Anonymous Apex / tests.
rapidForce.governorHud.warnThreshold number 50 Usage % for yellow (warning) severity.
rapidForce.governorHud.critThreshold number 80 Usage % for red (critical) severity.

Integration with Other Extensions

RapidForce works independently.

For advanced language features (autocomplete, Ctrl+click, Apex/LWC validation), you can install the official Salesforce extensions separately. They're optional and don't block RapidForce usage — RapidForce even provides its own "go to definition" fallback for Apex when the official extension can't resolve the symbol.


Why RapidForce?

  • Simple, productivity-focused interface
  • Direct integration with the Salesforce CLI
  • Fewer dependencies
  • Faster Salesforce development workflow
  • Helps set up the development environment from scratch, with no manual steps

Support

This is a beta version — if you run into issues or have suggestions, please use the project's Issues page.


RapidForce — Faster, simpler, more direct Salesforce development.

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