Module: ide/vscode/notebook/notebook
Functions
getNotebookFromCellDocument
▸ getNotebookFromCellDocument(document
): any
Given a document corresponding to a single cell, retrieve the notebook document for the entire notebook
Parameters
Name | Type | Description |
---|---|---|
document | TextDocument | The document corresponding to the given cell |
Returns
any
The notebook document corresponding to the notebook containing the given cell