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

Add support for sidecar or tear-off style widgets (Support for separate windows for output rather than inline)

Open psychemedia opened this issue 5 years ago • 14 comments

The JupyterLab UI allows for the output view of code cells to be "torn off" into their own view (eg feature request https://github.com/microsoft/vscode-python/issues/8740).

The JupyterLab sidecar extension is an alternative context manager that allows a a user to create a reference to a new view and then display a widget within it.

from sidecar import Sidecar
from ipywidgets import IntSlider

sc = Sidecar(title='Sidecar Output')

#Create some sort of widget
sl = IntSlider(description='Some slider')

# Create the separate output view and populate it with the widget
with sc:
    display(sl)

psychemedia avatar Apr 22 '20 06:04 psychemedia

This issue accidentally got moved out of our triage discussions. Putting it back for next time.

greazer avatar Jul 27 '20 22:07 greazer

any updates here?

KaivnD avatar Oct 06 '22 06:10 KaivnD

none yet, please do upvote the issue

DonJayamanne avatar Oct 06 '22 07:10 DonJayamanne

Definitely need it!

KaivnD avatar Oct 06 '22 11:10 KaivnD

+1

brentgunderson avatar May 21 '23 17:05 brentgunderson

+1

lalligagger avatar May 28 '23 16:05 lalligagger

+1

joedon4477 avatar Jul 14 '23 10:07 joedon4477

+1

TsubasaBE avatar Dec 11 '23 13:12 TsubasaBE

Please remember to upvote the issue, thats how we measure interest in this issue and then use that for prioritising issues.

DonJayamanne avatar Dec 11 '23 14:12 DonJayamanne

+1

krokosik avatar Sep 06 '24 13:09 krokosik

+1

odhondt avatar Sep 17 '24 18:09 odhondt

+1

TsubasaBE avatar Sep 18 '24 07:09 TsubasaBE

+1

teksander avatar Apr 15 '25 09:04 teksander

+1

uakob avatar May 30 '25 18:05 uakob

Unfortunately we've decided to not implement this feature. This requires a fair bit of effort on our part to enable this functionality. IN Jupyter lab its simpler as most of the components are within the same process, however in VS Code each view is isolated (thus webviews containing ipywidgets are in fact separate/standalone webviews).

I.e. its a fairly large engineering effort.

DonJayamanne avatar Oct 10 '25 06:10 DonJayamanne