vscode-pyolite icon indicating copy to clipboard operation
vscode-pyolite copied to clipboard

No Variable Explorer when using Pyodide extension in github.dev.

Open dynamicwebpaige opened this issue 4 years ago • 3 comments

Expected behavior: After defining variables in my github.dev instance with Pyodide, I expect those variables to be displayed in the Variable Explorer:

image

Observed behavior: No variables are displayed in the VS Code interface when using github.dev with the Pyodide extension:

Screen Shot 2021-10-19 at 10 27 12 AM

dynamicwebpaige avatar Oct 19 '21 17:10 dynamicwebpaige

That variable explorer is currently contributed by the Jupyter extension which is not web enabled and does not expose an API for other extensions to populate its variable explorer AFAIK. We could also implement our own...

joyceerhl avatar Oct 19 '21 18:10 joyceerhl

Strong preference would be to wait for the Jupyter extension to become web-enabled (though am unsure of the ETA) or to have the team introduce such an API.

Populating the variable explorer feels like it might be a common need?

dynamicwebpaige avatar Oct 20 '21 14:10 dynamicwebpaige

Yes, though fwiw Julia and R extensions for VS Code have their own variable explorer implementations at the moment, and I believe the Julia variable explorer is tree-based instead of grid-based. It would be great to see some common implementation in core VS Code.

joyceerhl avatar Oct 20 '21 14:10 joyceerhl