It's not intended to extend existing language services (like C#) in Visual Studio. The intent of the LSP and support for it in Visual Studio is to onboard language services that are not part of Visual Studio product. It assumes that you've already developed an LSP-based language server and just want to integrate it into Visual Studio.įor support within Visual Studio, language servers can communicate with the client (Visual Studio) via any stream-based transmission mechanism, for example: This article describes how to create a Visual Studio extension that uses an LSP-based language server. With Visual Studio support for LSP, there's a third option. Traditionally, language services in Visual Studio can be added by using TextMate grammar files to provide basic functionalities such as syntax highlighting or by writing custom language services that use the full set of Visual Studio extensibility APIs to provide richer data. Using the protocol, developers can write a single language server to provide language service features like IntelliSense, error diagnostics, find all references, and so on, to various code editors that support the LSP. The Language Server Protocol (LSP) is a common protocol, in the form of JSON RPC v2.0, used to provide language service features to various code editors. Applies to: Visual Studio Visual Studio for Mac Visual Studio Code
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |