The Language Server Protocol (LSP) allows you to integrate an existing LSP-based language server into Visual Studio. This provides language services like IntelliSense, error diagnostics, and find all references without needing to write custom Visual Studio extensibility code.
Visual Studio communicates with the language server via stream-based transmission mechanisms, including:
- Standard input/output streams
- Named pipes
- Sockets (TCP only)
Note: LSP is intended for onboarding new language services, not for extending existing Visual Studio languages like C#. For extending existing languages, use the Roslyn .NET Compiler Platform or the editor/language services extensibility guides.