Skip to content
PluginStats

Salesforce Apex Language Server (Typescript) installs statistics

By Salesforce (35 listings) · VS Code Marketplace · Programming Languages

VSCode extension for Apex Language Server

View on VS Code Marketplace Fresh · Dec 6, 2026

Salesforce Apex Language Server (Typescript) has 594,737 recorded installs on VS Code Marketplace, an increase of 4.6% over the past 30 days, ranking #775 of 2,515 tracked listings.

Installs
594,737
Official API · Dec 6, 2026
7-day growth
+1.2%
+7K installs
30-day growth
+4.6%
+26K installs
90-day growth
—
Insufficient history
Rank
#775
▲ 4 in 7 days

About Salesforce Apex Language Server (Typescript)

Salesforce Apex Language Server Extension

A Visual Studio Code extension providing comprehensive Apex language support powered by a modern TypeScript-based language server.

Features

Core Language Support
  • Syntax Highlighting: Full Apex, SOQL, and Anonymous Apex syntax highlighting
  • Real-time Diagnostics: Instant error detection and validation as you type
  • Code Intelligence: Hover information, go-to-definition, find references, and more
  • Document Symbols: Quick navigation through class members and methods
  • Code Lens: Browser and desktop CodeLens support for anonymous Apex and Apex test commands
  • Folding Ranges: Smart code folding based on structure and comments
  • Auto-completion: Context-aware code completion (development mode)
Advanced Features
  • Missing Artifact Resolution: Automatically finds and loads referenced types when needed
  • Workspace Loading: Batch loading of Apex files for comprehensive cross-file analysis
  • Queue-Based Processing: Priority-based request handling for responsive editing
  • Performance Profiling: Built-in CPU and heap profiling for performance analysis (desktop only)
Platform Support
  • Desktop: Full Node.js-based language server
  • Web: Browser-based language server for vscode.dev and github.dev

Installation

  1. Install from the VS Code Marketplace or Extensions view
  2. Open a workspace containing Apex files (.cls, .trigger, .apex)
  3. The language server starts automatically

Extension API

Debugger extensions can consume the activated language-server extension rather than issue LSP requests themselves. Declare the extension dependency, retrieve its exported ApexExtensionApi, and call its materialized client:

{
  "extensionDependencies": ["salesforce.apex-language-server-extension"]
}
import * as vscode from 'vscode';
import {
  hasApexClientCapabilities,
  isApexExtensionApi,
} from '@salesforce/apex-language-server-extension-api';

const apexExtension = vscode.extensions.getExtension(
  'salesforce.apex-language-server-extension',
);
if (!apexExtension) {
  throw new Error('Salesforce Apex Language Server extension is unavailable');
}

const apex = await apexExtension.activate();
if (
  !isApexExtensionApi(apex) ||
  !hasApexClientCapabilities(apex.client, [
    'lineBreakpointInfo',
    'exceptionBreakpointInfo',
  ])
) {
  throw new Error('Apex Language Server debugger APIs are unavailable');
}
const uri = 'file:///workspace/force-app/main/default/classes/Example.cls';

const lineBreakpoints = await apex.client.getLineBreakpointInfo(uri);
const exceptionBreakpoints = await apex.client.getExceptionBreakpointInfo(uri);

The activated API is defined by the @salesforce/apex-language-server-extension-api contract package. Its stable client facade supports breakpoint metadata, feature-state checks, and standard LSP hover, completion, definition, document-symbol, and semantic-token requests. The facade remains valid after the language server restarts; callers do not receive or manage the concrete runtime client.

The URI must identify a document loaded by the language server. Line results use 1-based source lines and opaque debugger typeref values; exception results add a display label and optional source URI. Treat typeref as opaque and pass it through unchanged. The client translates these calls to the language server's standard command transport, so consumers should not send LSP commands directly.

CodeLens Callback Registration

The extension exposes the host-neutral CodeLensCallbackRegistry<vscode.CodeLens> from @salesforce/apex-lsp-client through ApexExtensionApi.codeLens. Companion extensions should register on this activated registry rather than construct a separate one. This allows browser and desktop hosts to render server-declared CodeLens anchors while companion extensions supply their own commands.

Register a callback after activating the language-server extension. Callbacks receive the server anchor and return a lens with their command, or null to suppress that anchor. Register each server descriptor command ID the companion extension handles. The extension preserves the server-provided range, so callbacks own command and presentation details but not CodeLens placement. There is one callback for each descriptor; a later registration for the same descriptor replaces the earlier one. Callback failures are logged to the Apex Language Server output channel and suppress that lens.

import * as vscode from 'vscode';
import type { ApexExtensionApi } from '@salesforce/apex-language-server-extension-api';

const apexExtension = vscode.extensions.getExtension<
  ApexExtensionApi<vscode.CodeLens>
>(
  'salesforce.apex-language-server-extension',
);
if (!apexExtension) {
  throw new Error('Salesforce Apex Language Server extension is unavailable');
}

const apex = await apexExtension.activate();
if (!apex.codeLens) {
  throw new Error('Apex Language Server CodeLens API is unavailable');
}

context.subscriptions.push(
  apex.codeLens.register('sf.apex.test.method.run.delegate', (anchor) => ({
    ...anchor,
    command: {
      command: 'salesforcedx-vscode-apex.runTestMethod',
      title: 'Run Test',
      arguments: ['ExampleTest.exampleMethod'],
    },
  })),
);

If no callback is registered for a descriptor, or its callback returns null, the corresponding server delegate lens is not shown. Providers should use ApexExtensionApi.codeLens rather than registering language-server command IDs directly.

Configuration

All settings use the apex.* prefix. Configure in VS Code Settings (UI or JSON).

Quick Start: Recommended Settings
{
  "apex.environment.serverMode": "development",
  "apex.commentCollection.enableCommentCollection": true,
  "apex.performance.documentChangeDebounceMs": 300,
  "apex.logLevel": "info"
}

Settings Reference

Server Mode…

Description from the VS Code Marketplace listing.

  • AnonymousApex
  • apex
  • apex-anon
  • ApexAnonymous
  • SalesforceObjectQueryLanguage
  • snippet
  • soql

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

Salesforce Apex Language Server (Typescript) installs on VS Code Marketplace, last 90 days: 594,737 installs as of Dec 6, 2026.Salesforce Apex Language Server (Types…Installs on VS Code Marketplace · Last 90 days594,737installs550K560K570K580K590K600KSep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6installsobservedarchived (Internet Archive)no observationsOct 16, 2026 – Dec 6, 2026 · 50 observations · Updated Dec…pluginstats.com
Salesforce Apex Language Server (Typescript) installs on VS Code Marketplace, last 90 days: 594,737 installs as of Dec 6, 2026.

7/30/90-day growth

Salesforce Apex Language Server (Typescript) installs growth on VS Code Marketplace: +1.2% over 7 days, +4.6% over 30 days, 90-day growth unavailable.Salesforce Apex Language Server (Types…Installs growth on VS Code Marketplace594,737installs now7-day growth+6,997 installs+1.2%30-day growth+26,000 installs+4.6%90-day growthinsufficient historyInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Dec 6, 2026pluginstats.com
Salesforce Apex Language Server (Typescript) installs growth on VS Code Marketplace: +1.2% over 7 days, +4.6% over 30 days, 90-day growth unavailable.

Ranking history

Salesforce Apex Language Server (Typescript) VS Code Marketplace ranking history: currently #775 (by installs).Salesforce Apex Language Server (Types…VS Code Marketplace ranking · by installs · Last 90 days#775current rank#770#775#780#785#790#795#800#805#810Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 16, 2026 – Dec 6, 2026 · 50 observations · Updated Dec 6, 2026pluginstats.com
Salesforce Apex Language Server (Typescript) VS Code Marketplace ranking history: currently #775 (by installs).

Ratings over time

Salesforce Apex Language Server (Typescript) ratings on VS Code Marketplace, last 90 days.Salesforce Apex Language Server (Typescript)Ratings on VS Code Marketplace · Last 90 daysNo observations recorded in this periodno observations · 0 observations · Updated Dec 6, 2026pluginstats.com
Salesforce Apex Language Server (Typescript) ratings on VS Code Marketplace, last 90 days.

Listing placement

All VS Code Marketplace2,515 listings · 126 pages · 1,259 shown · page 39, #18 (overall #778)
All VS Code Marketplace: every listing in installs order

Listing placement

Programming Languages795 listings · 40 pages · page 15, #14 (overall #294)
Programming Languages: every listing in installs order

Listing placement

Snippets490 listings · 25 pages · page 8, #3 (overall #143)
Snippets: every listing in installs order

Listing placement

Linters250 listings · 13 pages · page 6, #10 (overall #110)
Linters: every listing in installs order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Installs on a linear scale. Placement is projected from installs, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (50)
Recent installs observations for Salesforce Apex Language Server (Typescript)
Date (UTC)InstallsChange vs. previous
594,737+858
593,879+773
593,106+1.2K
591,894+920
590,974+2K
588,992+981
588,011+271
587,740+173
587,567+779
586,788+1.3K
585,441+1K
584,424+752
583,672+1.4K
582,252—

Similar VS Code Marketplace Programming Languages plugins

All 20 Salesforce Apex Language Server (Typescript) alternatives

Data source

Install counts, average rating, and rating counts come from the public Visual Studio Marketplace gallery API. Installs are cumulative and exclude updates.

Listing: https://marketplace.visualstudio.com/items?itemName=salesforce.apex-language-server-extension. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.