Visual Studio 2019 has a new entry under the Text Editor options named C#_LSP. I guess it has something to do with the Language Server Protocol, but I couldn't find what the entry is used for exactly.
Is there certain standard tooling that uses it? Or is it there for extensibility?
Significantly the new C borrows much tech from the current-gen S-Class, including the basic layout and concept of its interior. The engines range from mild-hybrid four-cylinders to a plug-in petrol with a diesel on the way.
The 2022 C-Class sedan starts at $43,550. The midtier Exclusive model starts at $45,800, and the top Pinnacle trim has a starting MSRP of $47,500. All-wheel drive is available in all models for an additional $2,000.
The C-Class diesel comes in two variants - C220d and C300d. The C220d has a 2.0L engine that puts out 197 BHP & 440 Nm, while the C300d makes 261 BHP & 550 Nm. Like the petrol, both these variants come with a 48v mild hybrid system as well. All engines come paired with a 9-speed automatic transmission.
The Australian range at launch will be opened by the C200, powered by a 1.5-litre turbocharged petrol four-cylinder developing 150kW (and likely 300Nm). The C300 steps up to a larger 2.0-litre turbo-petrol four-cylinder, producing 190kW (and likely 400Nm).
This is a bug. Internally some stuff is implemented with an LSP for Visual Studio Live Share, but a side-effect of that implementation was the C#_LSP entry appears. The entry doesn't do anything.
The Language Server Protocol (LSP) is a common protocol, used to provide language service features to various code editors. 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. 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. With Visual Studio support for LSP, there's a third option.
Source: https://docs.microsoft.com/en-us/visualstudio/extensibility/adding-an-lsp-extension?view=vs-2019
Based on this I assume that the C#_LSP
option is for a case when you decide not to use build-in C# services and use LSP instead.
Personally I don't see any common use case for it, but I am sure there are people out there who like it that way.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With