csharp-language-server-protocol icon indicating copy to clipboard operation
csharp-language-server-protocol copied to clipboard

Language Server Protocol in C#

Results 178 csharp-language-server-protocol issues
Sort by recently updated
recently updated
newest added

[Code](https://github.com/OmniSharp/csharp-language-server-protocol/blob/112f24001e9d7c7929c60fd92dcaa3ca2025ba1e/src/Protocol/Models/Container.cs#L63) for context: ``` [return: NotNullIfNotNull("items")] public static implicit operator Container?(T[] items) => items switch { not null => new Container(items), _ => null }; ``` The annotation only accepts...

Is there a way to enable and disable handlers dynamically based on client configuration? For example, VS Code [recommends](https://code.visualstudio.com/blogs/2016/11/15/formatters-best-practices#_multiple-formatters) that a formatter provide a client setting to enable or disable...

Would it be possible to add to the documentation or as an example app something like: ``` C# using MediatR; using Microsoft.Extensions.Hosting; using OmniSharp.Extensions.JsonRpc; using System; using System.Threading; using System.Threading.Tasks;...

Hi, I'm a bit confused on the usage of this. After running build.ps1 I expected to get a server exe that I can communicate with via pipes in my own...

I can't use records to do dependency injection into handlers. A recurssive dependency exception is thrown. I have reduced it down this basic code: ```csharp using System; using System.Threading; using...

I'm not sure if I'm missing something obvious, but my scenario is as follows: Running `OmniSharp LanguageServer 0.19.2` and `VS 2019 version 16.10.3`. When `Initialize` message is sent, the server...

I encountered a similar dependency hell issue when bump Nerdbank.Streams from 2.6.81 to 2.8.46. [(PR#626)](https://github.com/OmniSharp/csharp-language-server-protocol/pull/626). Hope this fix can help you. Best regards, sucrose

The language server protocol [documents](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#implementationConsiderations) how to configure input/output via command line options. It would be great if an extension method were available that handled command line options in this...

According to the [spec](https://microsoft.github.io/language-server-protocol/specifications/specification-3-17/#initialize), if the server receives a request before initialize, it must send a response with error code -32002 (ServerNotInitialized). Failing to respond to a request also does...

I've got a question about logging in O#. For context, I work on the Visual Studio web tooling team, and we are using O# for html and css language server...