Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@salesforce/soql-language-server

Package Overview
Dependencies
Maintainers
28
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@salesforce/soql-language-server

SOQL Language Server

latest
Source
npmnpm
Version
1.1.0
Version published
Weekly downloads
5K
-6.25%
Maintainers
28
Weekly downloads
 
Created
Source

Table of Contents

  • Overview
  • Installation
  • Usage
  • Development
  • Contributing
  • License
  • Security
  • Resources

Overview

The SOQL Language Server provides comprehensive language support for SOQL (Salesforce Object Query Language) queries in text editors. This package implements the server-side of the LSP protocol to provide features such as:

  • Code completion and IntelliSense
  • Syntax error checking and validation
  • Query analysis and optimization suggestions
  • Integration with Salesforce metadata

Salesforce's SOQL VS Code extension, which lives in repo salesforcedx-vscode, includes an LSP client implementation for this server.

Installation

This package is primarily used as a dependency by the Salesforce SOQL VS Code extension. For end users, the language server is automatically installed when you install the VS Code extension.

For developers who want to work with the language server directly:

npm install @salesforce/soql-language-server

Usage

The language server is designed to work with LSP-compatible editors. It's primarily used through the Salesforce SOQL VS Code extension.

Contributing

If you are interested in contributing, please take a look at the CONTRIBUTING guide.

License

This project is licensed under the BSD 3-Clause License - see the LICENSE.txt file for details.

Security

Please report any security issues to security@salesforce.com as soon as they are discovered. See our SECURITY.md file for more details.

Development

  • yarn from the top-level directory to pull all dependencies
  • yarn build to build
  • yarn run lint to run static checks with eslint
  • yarn run test to run automated tests

This package is used by VS Code extension salesforcedx-vscode-soql which lives in repo salesforcedx-vscode.

During development, you can work with a local copy of the salesforcedx-vscode repo, and configure it to use your local build from your soql-language-server repo using yarn/npm links. Example:

# Make global links available
cd soql-language-server
yarn link

# Link to them from the VS Code SOQL extension package
cd salesforcedx-vscode
npm install
cd ./packages/salesforcedx-vscode-soql
npm link @salesforce/soql-language-server

With that in place, you can make changes to soql-language-server, build, and then relaunch the salesforcedx-vscode extensions from VS Code to see the changes.

Debug Jest Test

You can debug Jest test for an individual package by running the corresponding launch configuration in VS Codes RUN panel.

Resources

Keywords

soql

FAQs

Package last updated on 10 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts