Skip to content

Removing the textDocumentNotebook API proposal #147414

Closed

Description

The textDocumentNotebook api proposal is currently not on track for finalization. See #102091 (comment) for details on this

As an workaround, today you can achieve the same functionality with:

vscode.workspace.notebookDocuments.find(notebook => notebook.getCells().some(cell => cell.document === myTextDocument))

We plan to remove the TextDocument.notebook property once all consumers have moved off of it:

If you are on this list, please look into migrating off of this api and let us know if you run into any issues with the migration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions