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

Could this project be use as an alternative to show interactive features in VS Code notebooks? #62

Open
jpmvferreira opened this issue Oct 18, 2023 · 0 comments

Comments

@jpmvferreira
Copy link

I've got a question I would like to ask: Could this project be used as a way to directly add interactivity to notebooks on VS Code while the Julia extension doesn't add support add support for it?

It is my understanding that some features that worked in Juno are not yet available in VS Code, one of them being interactive sessions. According to JuliaGizmos/WebIO.jl#462, for something like interactive plots to be available directly in VS Code, then one would require that the Julia extension supports connectivity with WebIO, which, according to julia-vscode/julia-vscode#1532, indicates that there isn't a plan to add such a feature and the thread has gone stale.
There is a workaround that relies on using Blink.jl to setup an external window which can the be opened in a browser, as suggested in JuliaGizmos/WebIO.jl#462 (comment), but, for some reason, I cannot run Blink inside of VS Code.

However, it would be really useful to me to have some sort of interactivity in the notebook itself, Mathematica style, where I can perform some computation and then change the parameters in the UI, re-running a selected piece of code and updating the output, whether it was a video, plot or simply a number.
Given my ignorance on the matter at hand, I simply followed the hyperlinks which has lead me to pull request #42, in this repository, where user @xgdgsc claimed in a comment that this could be used as a workaround for julia-vscode/julia-vscode#1532.

Is it possible to replace the missing interactivity in VS Code notebooks with this or other package somehow?

@jpmvferreira jpmvferreira changed the title Could this be use as an alternative to show interactive features in VS Code notebooks? Could this project be use as an alternative to show interactive features in VS Code notebooks? Oct 18, 2023
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

1 participant