Custom visualizer for macOS
Are there any plans to support custom visualizers on macOS? It will be good if there will be a way to build cross-platform custom visualizers, by adding Avalonia support to the Windows version.
Are there any plans to support custom visualizers on macOS? It will be good if there will be a way to build cross-platform custom visualizers, by adding Avalonia support to the Windows version.
Comments
The best option right now is to generate HTML, and output it via
Util.RawHtml
or LINQPad's HTML controls which allow for some two-way interaction.The mechanism that LINQPad uses to display WPF, Windows Forms and Avalonia controls in the output panel can't be ported to MacOS because it operates by creating an illusion that requires an elaborate dance that relies on numerous Win32 calls for which (to my knowledge) there's no equivalent on macOS. Also, Avalonia doesn't support application transparency, without which the illusion is unstable.