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

WebIO support for Visual Studio Code #462

Closed
vchuravy opened this issue Jul 20, 2021 · 3 comments
Closed

WebIO support for Visual Studio Code #462

vchuravy opened this issue Jul 20, 2021 · 3 comments

Comments

@vchuravy
Copy link

Using the Jupyter extension in VSCode I get a:

Unable to load WebIO. Please make sure WebIO works for your Jupyter client. For troubleshooting, please see the WebIO/IJulia documentation.

@bradcarman
Copy link

I see this issue as well. I attempted to get WebIO to render in the Julia Extension Plot Pane by using

Base.show(io::IO, m::MIME"juliavscode/html", x::Node) = print(io, WebIO.htmlstring(x))

Then, when displaying a node the plot pane opens with the message:

WebIO not detected.

@twavv
Copy link
Member

twavv commented Sep 13, 2021

It's up to the VSCode extension to provide integration with WebIO (since otherwise there's no way WebIO can know how to communicate with the Julia process).

IJulia is the only "first class" integration that we provide.

@JobJob
Copy link
Member

JobJob commented Dec 10, 2021

As a workaround I'd recommend using the Blink backend, with the added advantage that you get a new window that you can put in a separate monitor.

e.g.

using Blink: Window, body!
using Interact: @manipulate
using Plots: plot, plotlyjs
##

plotlyjs()
w = Window()
##

x = range(0, 6π; length=1000)
ui = @manipulate for i in 1:10
  plot(sin.(i .* x) .* cos.(i .* 2x))
end

body!(w, ui)

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

No branches or pull requests

4 participants