mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-22 09:38:38 +01:00
TODO for display order
This commit is contained in:
@@ -329,6 +329,7 @@ export class ExtHostNotebookDocument implements vscode.NotebookDocument, vscode.
|
||||
transformMimeTypes(cell: ExtHostCell, output: vscode.CellDisplayOutput): ITransformedDisplayOutputDto {
|
||||
let mimeTypes = Object.keys(output.data);
|
||||
|
||||
// TODO@rebornix, the document display order might be assigned a bit later. We need to postpone sending the outputs to the core side.
|
||||
const sorted = mimeTypes.sort((a, b) => {
|
||||
return this.getMimeTypeOrder(a) - this.getMimeTypeOrder(b);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user