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

RoslynPad Editor in Blazor #438

Open
cordasfilip opened this issue Jul 19, 2022 · 5 comments
Open

RoslynPad Editor in Blazor #438

cordasfilip opened this issue Jul 19, 2022 · 5 comments

Comments

@cordasfilip
Copy link

Would be cool to enable RoslynPad editor in Blazor using the monaco editor component.
Should be possible to do for Blazor server and Blazor Hybrid(It runs regular core framework with no limitations) but might be possible to run in WASM haven't really investigated.
Just an idea could be fun to do.

@aelij
Copy link
Member

aelij commented Oct 3, 2022

Cool idea :) I wish I had time to tinker with this

@CoolCoderSuper
Copy link

Wouldn't it be possible to use Avalonia UI in the browser to achieve this?

@cordasfilip
Copy link
Author

@CoolCoderSuper I think this question was before avalonia had web support. As I said full WASM component might not work. Didn't have time to play with this either and last time I tried avalonia wasn't working but could be me not trying enough. Still there are reasons to use Monaco editor it's pretty much bug free and more stable than avaloniaedit, supports accessibility...

@CoolCoderSuper
Copy link

I agree Monaco would likely be more stable and feature rich there is already Avalonia UI bindings so it might be easier with them.
With Avalonia v11 i have pretty good success running on web and mobile platforms.
However I'm unsure how well Roslyn would work depending on how it loads any helper assemblies.

@CoolCoderSuper
Copy link

SharpLab and mirrorsharp might be useful, I have used mirrosharp to build a script editor and worked pretty good. It's based on code mirror.

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

No branches or pull requests

3 participants