mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-22 01:29:04 +01:00
Add tests for metadata
This commit is contained in:
@@ -14,6 +14,16 @@ export function activate(context: vscode.ExtensionContext): any {
|
||||
return;
|
||||
},
|
||||
executeCell: async (_document: vscode.NotebookDocument, _cell: vscode.NotebookCell | undefined, _token: vscode.CancellationToken) => {
|
||||
if (!_cell) {
|
||||
_cell = _document.cells[0];
|
||||
}
|
||||
|
||||
_cell.outputs = [{
|
||||
outputKind: vscode.CellOutputKind.Rich,
|
||||
data: {
|
||||
'text/plain': ['my output']
|
||||
}
|
||||
}];
|
||||
return;
|
||||
},
|
||||
save: async (_document: vscode.NotebookDocument) => {
|
||||
|
||||
Reference in New Issue
Block a user