microsoft / vscode-jupyter

VS Code Jupyter extension
https://marketplace.visualstudio.com/items?itemName=ms-toolsai.jupyter
MIT License
1.3k stars 292 forks source link

Support for ipypopout #16251

Closed mariobuikhuizen closed 3 days ago

mariobuikhuizen commented 3 days ago

Would it be possible to get ipypopout working? It opens a new browser window, connects to the kernel it was opened from and shows the target widget.

https://github.com/widgetti/ipypopout/assets/1765949/430cae12-2527-404b-9861-610565ac1471

It would need the following:

Is this possible in vscode / vscode-jupyter?

DonJayamanne commented 3 days ago

Duplicate of https://github.com/microsoft/vscode-jupyter/issues/1120

maartenbreddels commented 2 days ago

I'm not sure this is a duplicate. I think #1120 would require integration with the vscode interface (and seems difficult to do). For ipypopout we might be able to get this working ourselves if we know how to do both things Mario mentioned (serving assets, and find a way to connect to the kernel).

DonJayamanne commented 2 days ago

pypopout we might be able to get this working ourselves if we know how to do both things Mario mentioned (serving assets, and find a way to connect to the kernel).

way to connect to the kernel). Unfortunately there's no webserver nor that is served for an external browser window to connect to the kernel.

The only way to connect to the kernel is via some messaging api, and this will not be possible with external browser windows. The only approach we have and plan on supporting is using a vs code window.