add notebook to the text document of the input box in iw.

This commit is contained in:
rebornix
2021-06-25 15:17:51 -07:00
parent 95ac778330
commit b17fa9dcf5
9 changed files with 129 additions and 4 deletions

View File

@@ -92,7 +92,7 @@ export class ExtHostDocumentsAndEditors implements ExtHostDocumentsAndEditorsSha
// double check -> only notebook cell documents should be
// referenced/opened more than once...
if (ref) {
if (resource.scheme !== Schemas.vscodeNotebookCell) {
if (resource.scheme !== Schemas.vscodeNotebookCell && resource.scheme !== Schemas.vscodeInteractiveInput) {
throw new Error(`document '${resource} already exists!'`);
}
}