Skip to content

Commit 07d7bd3

Browse files
committed
expand/collapse actions order.
1 parent 72190f7 commit 07d7bd3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/vs/workbench/contrib/notebook/browser/contrib/coreActions.ts

+4
Original file line numberDiff line numberDiff line change
@@ -1814,6 +1814,7 @@ registerAction2(class CollapseCellInputAction extends ChangeNotebookCellMetadata
18141814
id: MenuId.NotebookCellTitle,
18151815
when: ContextKeyExpr.and(NOTEBOOK_CELL_INPUT_COLLAPSED.toNegated()),
18161816
group: CellOverflowToolbarGroups.Collapse,
1817+
order: 0
18171818
}
18181819
});
18191820
}
@@ -1837,6 +1838,7 @@ registerAction2(class ExpandCellInputAction extends ChangeNotebookCellMetadataAc
18371838
id: MenuId.NotebookCellTitle,
18381839
when: ContextKeyExpr.and(NOTEBOOK_CELL_INPUT_COLLAPSED),
18391840
group: CellOverflowToolbarGroups.Collapse,
1841+
order: 1
18401842
}
18411843
});
18421844
}
@@ -1860,6 +1862,7 @@ registerAction2(class CollapseCellOutputAction extends ChangeNotebookCellMetadat
18601862
id: MenuId.NotebookCellTitle,
18611863
when: ContextKeyExpr.and(NOTEBOOK_CELL_OUTPUT_COLLAPSED.toNegated(), NOTEBOOK_CELL_HAS_OUTPUTS),
18621864
group: CellOverflowToolbarGroups.Collapse,
1865+
order: 2
18631866
}
18641867
});
18651868
}
@@ -1883,6 +1886,7 @@ registerAction2(class ExpandCellOuputAction extends ChangeNotebookCellMetadataAc
18831886
id: MenuId.NotebookCellTitle,
18841887
when: ContextKeyExpr.and(NOTEBOOK_CELL_OUTPUT_COLLAPSED),
18851888
group: CellOverflowToolbarGroups.Collapse,
1889+
order: 3
18861890
}
18871891
});
18881892
}

0 commit comments

Comments
 (0)