serdarciplak / BlazorMonaco

Blazor component for Microsoft's Monaco Editor which powers Visual Studio Code.
https://serdarciplak.github.io/BlazorMonaco/
MIT License
454 stars 98 forks source link

Feature: Language Server Support #53

Open FeroxFoxxo opened 2 years ago

FeroxFoxxo commented 2 years ago

With the exception of Javascript, many of the languages supported in Monaco, and thus BlazorMonaco, do not have their own inbuilt language servers, just syntax highlighting. It would be amazing to have the ability to easily add language servers, like with what https://www.npmjs.com/package/monaco-languageclient does, but reimplemented in C#.

One of the most common reasons I can see for this is, if you're using BlazorMonaco, you may want to use C# in the editor, and thus you'd probably want a language server for intelisense like the following adds support for-> https://github.com/OmniSharp/csharp-language-server-protocol

If not, an example of the implementation of such would be rather useful aswell.

kevmoens commented 2 years ago

I worked through this using OmniSharp in my project. Ellabit It is a Blazor WebAssembly PWA.