Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hosting in WASM (without backend) #2433

Closed
ShadowDancer opened this issue Aug 12, 2022 · 2 comments
Closed

Hosting in WASM (without backend) #2433

ShadowDancer opened this issue Aug 12, 2022 · 2 comments
Labels

Comments

@ShadowDancer
Copy link

I'm investigating possibility to run the language server entirely in the browser. Monaco editor can be used as a frontend.

My use case is:
Code editor with IntelliSense running entirely in WASM (without backend).

I'm not really familiar with the OmniSharp internals - can someone tell me if this can be done in reasonable timeframe?
Case of Bicep shows that it's possible to wire up language server with Monaco.

OmniSharp-Roslyn needs MsBuild, and I imagine MsBuild won't play nicely in browser (as it depend a lot on filesystem). I wonder if it'd be possible to grab some guts of Omnisharp, feed it reference assemblies and make it work? Some thoughts?

@filipw
Copy link
Member

filipw commented Aug 25, 2022

Because of the concurrency in use (various Task.Run and such), I am pretty sure you will not be able to get it up and running on Blazor. Additionally, OmniSharp relies on full file system to be available and I can imagine you will run into problems there too.

@ShadowDancer
Copy link
Author

Thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants