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

Open
#62 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
20/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
julia, vscode

Research direction

Start by reading the linked WebIO.jl issue #462, julia-vscode issue #1532, and RemoteREPL.jl pull request #42 to understand the proposed workaround and current constraints. No repository files or tests are named; done would require establishing whether RemoteREPL.jl or another package can provide interactive VS Code notebook output.

Written by the indexing model from the issue text.

Description

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 https://github.com/JuliaGizmos/WebIO.jl/issues/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 https://github.com/julia-vscode/julia-vscode/issues/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 https://github.com/JuliaGizmos/WebIO.jl/issues/462#issuecomment-990744621, 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 https://github.com/c42f/RemoteREPL.jl/pull/42, in this repository, where user @xgdgsc claimed in a comment that this could be used as a workaround for https://github.com/julia-vscode/julia-vscode/issues/1532.

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

Dominant language
Julia
Stars
148
Forks
17
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from JuliaWeb/RemoteREPL.jl

All issues in JuliaWeb/RemoteREPL.jl

Similar issues

More Julia issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.