ashmind / mirrorsharp

MirrorSharp is a code editor <textarea> built on Roslyn and CodeMirror
BSD 2-Clause "Simplified" License
220 stars 39 forks source link

Similar component for monaco, use part of yours? #218

Open jogibear9988 opened 1 year ago

jogibear9988 commented 1 year ago

I've started something similar for "monaco" editor, but It's not yet as good as yours. Is it possible to use your API's without the hosting logic? For me it is also important to hand over additional dlls to search for types.

I also thought to use internal Roslyn APIs like RoslynPad does, but never found the time. And seems you wrap the already?

ashmind commented 1 year ago

Hi -- thanks for asking.

Is it possible to use your API's without the hosting logic?

Likely not easy, while you can reference MirrorSharp.Common, I made some APIs internal for now, as it takes a bit of effort to polish them enough for reuse. You can always use https://github.com/aelij/IgnoresAccessChecksToGenerator to access them if you really want, though it might break between versions.