diff --git a/src/vs/workbench/contrib/notebook/browser/notebook.contribution.ts b/src/vs/workbench/contrib/notebook/browser/notebook.contribution.ts index c74f399bff9..e65e41fcfb8 100644 --- a/src/vs/workbench/contrib/notebook/browser/notebook.contribution.ts +++ b/src/vs/workbench/contrib/notebook/browser/notebook.contribution.ts @@ -728,8 +728,10 @@ class NotebookAccessibleViewContribution extends Disposable { } else { text = decoder.decode(pickedBuffer); } - - outputContent = outputContent.concat(`${text}\n`); + const index = viewCell.outputsViewModels.length > 1 + ? `Cell output ${i + 1} of ${viewCell.outputsViewModels.length}\n` + : ''; + outputContent = outputContent.concat(`${index}${text}\n`); } if (!outputContent) {