Add support for sidecar or tear-off style widgets (Support for separate windows for output rather than inline)
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)
This issue accidentally got moved out of our triage discussions. Putting it back for next time.
any updates here?
none yet, please do upvote the issue
Definitely need it!
+1
+1
+1
+1
Please remember to upvote the issue, thats how we measure interest in this issue and then use that for prioritising issues.
+1
+1
+1
+1
+1
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.