interactive icon indicating copy to clipboard operation
interactive copied to clipboard

Use new LSP Host for autocomplete

Open Igorgro opened this issue 1 year ago • 2 comments

Recently the new LSP host for C# was released (https://github.com/dotnet/roslyn/tree/main/src/Features/LanguageServer/Microsoft.CodeAnalysis.LanguageServer). It will be good if the Polyglot vscode extension will use it for providing autocomplete for C# code in notebook (maybe using vscode-dotnet extansion)

Is your feature request related to a problem? Please describe. While Polyglot extension provides some basic autocomple using some kind of embedded language server, it's still worse than the LSP Host

Describe the solution you'd like Use LSP host to provide powerful autocomplete in polyglot notebooks in vscode

Describe alternatives you've considered Use OmniSharp as language server

Igorgro avatar Jun 16 '23 21:06 Igorgro

Any plans on this?

Igorgro avatar Dec 02 '23 13:12 Igorgro

Not currently. The LSP host doesn't support C# Script or polyglot. The C# language services in .NET Interactive use a custom workspace on top of Roslyn.

A polyglot LSP provider for .NET Interactive has been considered, but this solves a different problem.

Are there specific language service improvements you have in mind that you would like to see?

jonsequitur avatar Dec 02 '23 17:12 jonsequitur