You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
DonJayamanne
changed the title
Notification when all editors associated with a NotebookDocument are closed
Notify when all editors associated with a NotebookDocument have been closed
May 14, 2020
This isn't correct, we still have NotebookDocument A.ipyn open, as we have another editor for this file remaining.
In latest Insiders, when a notebook file renamed, all editors attached in the editor pane will replace the old notebook document with the new one, in your particular case, there is no A.ipynb file open in the workspace anymore.
Provide a way to determine when all editors associated with a NotebookDocument have been closed.
notebook.onDidCloseNotebookDocument
)Suggestions
NotebookData.dispose
, that will be invoked by VSC when all editors associated with that Notebook are closed.onDidCloseNotebookDocument
(though this might still be useful for extension authors who do not provideNotebookContentProviders
)Why do we need this
onDidCloseNotebookDocument
onDidCloseNotebookDocument
for A.ipynbDoes this issue occur when all extensions are disabled?: Yes/No
@rebornix /cc
The text was updated successfully, but these errors were encountered: