csharp-language-server
csharp-language-server copied to clipboard
Inlay hints support?
Unfortunately this language server does not seem to support inlay hints.
Below is an example image from google on inlay hints in Rust with neovim:

Here is an ongoing issue on omnisharp supporting this as well.
Please correct me if I'm wrong, but this "inlay hints" feature is not mapped by LSP protocol yet, right?
- https://microsoft.github.io/language-server-protocol/specifications/specification-current/
I was reading through it and I don't see it. If you could point me to it then I could try to figure out. Otherwise we'd need to implement a custom extension to LSP which I am reluctant to do yet since it would involve editor changes too and we still have things to implement in LSP spec yet for csharp-ls.
Oh, I think you're right. Rust analyzer apparently uses a workaround seen here: https://github.com/microsoft/language-server-protocol/issues/956. It seems like the language server protocol doesn't have this in the specification but VSCode has an api for it...
Vscode has an API for it now. That pr has been merged.https://github.com/microsoft/language-server-protocol/issues/956
I'd still have to wait for the neovim PR to be merged as well. https://github.com/neovim/neovim/issues/18086