jupyterlab-sidecar icon indicating copy to clipboard operation
jupyterlab-sidecar copied to clipboard

How to programmatically close a sidecar (or all sidecars)?

Open matt-gardner opened this issue 1 year ago • 2 comments

In my development loop, I frequently will need to restart the kernel in jupyter, which unlinks sidecars and leaves an unusable pane that I have to close. Reloading sidecars after a kernel restart gives a new tab instead of re-using the old one. Is there a way to easily close old sidecar tabs other than clicking on the X? I have a bunch of sidecar tabs loaded, and it gets cumbersome to click them all closed every time I restart the kernel.

Apologies that I'm using the issue tracker to ask a question; if this functionality exists, I guess this is a documentation request. If it doesn't, it's a feature request :).

matt-gardner avatar Apr 20 '24 14:04 matt-gardner