Skip to content

Removing the textDocumentNotebook API proposal #147414

@mjbvz

Description

@mjbvz

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions