Language Server Protocol
The Language Server Protocol (LSP) is an open, JSON-RPC-based protocol for use between source-code editors or integrated development environments (IDEs) and servers that provide "language intelligence tools": programming language-specific features like code completion, syntax highlighting and marking of warnings and errors, as well as refactoring routines. The goal of the protocol is to allow programming language support to be implemented and distributed independently of any given editor or IDE. In the early 2020s, LSP quickly became a "norm" for language intelligence tools providers. In LSP, the editor or IDE acts as a client and communicates with a language server that analyzes code and provides language specific functionality. The client notifies the server about actions, including opening/modifying files. It can additionally request operations such as code completion, navigation, formatting, and refactoring. The server then returns the requested information or edits. This separation lets a single language server provide language support to multiple editors rather than requiring each editor to implement its own language specific tooling. LSP was originally developed for Microsoft Visual Studio Code, and in 2016 Microsoft, Red Hat, and Codenvy announced a collaboration to standardize the specification.…
The Language Server Protocol (LSP) is an open, JSON-RPC-based protocol for use between source-code editors or integrated development environments (IDEs) and servers that provide "language intelligence tools": programming language-specific features like code completion, syntax highlighting and marking of warnings and errors, as well as refactoring routines. The goal of the protocol is to allow programming language support to be implemented and distributed independently of any given editor or IDE. In the early 2020s, LSP quickly became a "norm" for language intelligence tools providers. In LSP, the editor or IDE acts as a client and communicates with a language server that analyzes code and provides language specific functionality. The client notifies the server about actions, including opening/modifying files. It can additionally request operations such as code completion, navigation, formatting, and refactoring. The server then returns the requested information or edits. This separation lets a single language server provide language support to multiple editors rather than requiring each editor to implement its own language specific tooling. LSP was originally developed for Microsoft Visual Studio Code, and in 2016 Microsoft, Red Hat, and Codenvy announced a collaboration to standardize the specification. It is not limited to programming languages and can be used with other text based languages including domain-specific languages.
References
No reference rows published for this article.
Cite this article
MLA
"Language Server Protocol." encyclopegia.org, 2026, https://encyclopegia.org/wiki/language-server-protocol. Accessed 24 November 2026.
Chicago
"Language Server Protocol." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/language-server-protocol.
APA
encyclopegia.org. (2026). Language Server Protocol. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/language-server-protocol
Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON