Skip to content

Commit baa45af

Browse files
committed
Name all notebook action classes
1 parent ffe6e29 commit baa45af

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

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

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ registerAction2(class ExecuteCellInsertBelow extends NotebookCellAction {
508508
}
509509
});
510510

511-
registerAction2(class extends NotebookAction {
511+
registerAction2(class RenderAllMarkdownCellsAction extends NotebookAction {
512512
constructor() {
513513
super({
514514
id: RENDER_ALL_MARKDOWN_CELLS,
@@ -521,7 +521,7 @@ registerAction2(class extends NotebookAction {
521521
}
522522
});
523523

524-
registerAction2(class extends NotebookAction {
524+
registerAction2(class ExecuteNotebookAction extends NotebookAction {
525525
constructor() {
526526
super({
527527
id: EXECUTE_NOTEBOOK_COMMAND_ID,
@@ -623,7 +623,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorContext, {
623623
when: NOTEBOOK_EDITOR_FOCUSED
624624
});
625625

626-
registerAction2(class extends NotebookCellAction {
626+
registerAction2(class ChangeCellToCodeAction extends NotebookCellAction {
627627
constructor() {
628628
super({
629629
id: CHANGE_CELL_TO_CODE_COMMAND_ID,
@@ -647,7 +647,7 @@ registerAction2(class extends NotebookCellAction {
647647
}
648648
});
649649

650-
registerAction2(class extends NotebookCellAction {
650+
registerAction2(class ChangeCellToMarkdownAction extends NotebookCellAction {
651651
constructor() {
652652
super({
653653
id: CHANGE_CELL_TO_MARKDOWN_COMMAND_ID,
@@ -755,7 +755,7 @@ abstract class InsertCellCommand extends NotebookAction {
755755
}
756756
}
757757

758-
registerAction2(class extends InsertCellCommand {
758+
registerAction2(class InsertCodeCellAboveAction extends InsertCellCommand {
759759
constructor() {
760760
super(
761761
{
@@ -776,7 +776,7 @@ registerAction2(class extends InsertCellCommand {
776776
}
777777
});
778778

779-
registerAction2(class extends InsertCellCommand {
779+
registerAction2(class InsertCodeCellBelowAction extends InsertCellCommand {
780780
constructor() {
781781
super(
782782
{
@@ -797,7 +797,7 @@ registerAction2(class extends InsertCellCommand {
797797
}
798798
});
799799

800-
registerAction2(class extends NotebookAction {
800+
registerAction2(class InsertCodeCellAtTopAction extends NotebookAction {
801801
constructor() {
802802
super(
803803
{
@@ -822,7 +822,7 @@ registerAction2(class extends NotebookAction {
822822
}
823823
});
824824

825-
registerAction2(class extends NotebookAction {
825+
registerAction2(class InsertMarkdownCellAtTopAction extends NotebookAction {
826826
constructor() {
827827
super(
828828
{
@@ -869,7 +869,7 @@ MenuRegistry.appendMenuItem(MenuId.NotebookCellListTop, {
869869
when: NOTEBOOK_EDITOR_EDITABLE.isEqualTo(true)
870870
});
871871

872-
registerAction2(class extends InsertCellCommand {
872+
registerAction2(class InsertMarkdownCellAboveAction extends InsertCellCommand {
873873
constructor() {
874874
super(
875875
{
@@ -885,7 +885,7 @@ registerAction2(class extends InsertCellCommand {
885885
}
886886
});
887887

888-
registerAction2(class extends InsertCellCommand {
888+
registerAction2(class InsertMarkdownCellBelowAction extends InsertCellCommand {
889889
constructor() {
890890
super(
891891
{
@@ -923,7 +923,7 @@ MenuRegistry.appendMenuItem(MenuId.NotebookCellListTop, {
923923
when: NOTEBOOK_EDITOR_EDITABLE.isEqualTo(true)
924924
});
925925

926-
registerAction2(class extends NotebookCellAction {
926+
registerAction2(class EditCellAction extends NotebookCellAction {
927927
constructor() {
928928
super(
929929
{
@@ -952,7 +952,7 @@ registerAction2(class extends NotebookCellAction {
952952
}
953953
});
954954

955-
registerAction2(class extends NotebookCellAction {
955+
registerAction2(class QuitEditCellAction extends NotebookCellAction {
956956
constructor() {
957957
super(
958958
{
@@ -1054,7 +1054,7 @@ export function runDeleteAction(viewModel: NotebookViewModel, cell: ICellViewMod
10541054
}
10551055
}
10561056

1057-
registerAction2(class extends NotebookCellAction {
1057+
registerAction2(class DeleteCellAction extends NotebookCellAction {
10581058
constructor() {
10591059
super(
10601060
{
@@ -1086,7 +1086,7 @@ registerAction2(class extends NotebookCellAction {
10861086
}
10871087
});
10881088

1089-
registerAction2(class extends NotebookCellAction {
1089+
registerAction2(class ClearCellOutputsAction extends NotebookCellAction {
10901090
constructor() {
10911091
super({
10921092
id: CLEAR_CELL_OUTPUTS_COMMAND_ID,
@@ -1308,7 +1308,7 @@ registerAction2(class ChangeCellLanguageAction extends NotebookCellAction<ICellR
13081308
}
13091309
});
13101310

1311-
registerAction2(class extends NotebookAction {
1311+
registerAction2(class ClearAllCellOutputsAction extends NotebookAction {
13121312
constructor() {
13131313
super({
13141314
id: CLEAR_ALL_CELLS_OUTPUTS_COMMAND_ID,
@@ -1357,7 +1357,7 @@ registerAction2(class extends NotebookAction {
13571357
}
13581358
});
13591359

1360-
registerAction2(class extends NotebookCellAction {
1360+
registerAction2(class CenterActiveCellAction extends NotebookCellAction {
13611361
constructor() {
13621362
super({
13631363
id: CENTER_ACTIVE_CELL,
@@ -1401,7 +1401,7 @@ abstract class ChangeNotebookCellMetadataAction extends NotebookCellAction {
14011401
abstract getMetadataDelta(): NotebookCellMetadata;
14021402
}
14031403

1404-
registerAction2(class extends ChangeNotebookCellMetadataAction {
1404+
registerAction2(class CollapseCellInputAction extends ChangeNotebookCellMetadataAction {
14051405
constructor() {
14061406
super({
14071407
id: COLLAPSE_CELL_INPUT_COMMAND_ID,
@@ -1424,7 +1424,7 @@ registerAction2(class extends ChangeNotebookCellMetadataAction {
14241424
}
14251425
});
14261426

1427-
registerAction2(class extends ChangeNotebookCellMetadataAction {
1427+
registerAction2(class ExpandCellInputAction extends ChangeNotebookCellMetadataAction {
14281428
constructor() {
14291429
super({
14301430
id: EXPAND_CELL_INPUT_COMMAND_ID,
@@ -1447,7 +1447,7 @@ registerAction2(class extends ChangeNotebookCellMetadataAction {
14471447
}
14481448
});
14491449

1450-
registerAction2(class extends ChangeNotebookCellMetadataAction {
1450+
registerAction2(class CollapseCellOutputAction extends ChangeNotebookCellMetadataAction {
14511451
constructor() {
14521452
super({
14531453
id: COLLAPSE_CELL_OUTPUT_COMMAND_ID,
@@ -1470,7 +1470,7 @@ registerAction2(class extends ChangeNotebookCellMetadataAction {
14701470
}
14711471
});
14721472

1473-
registerAction2(class extends ChangeNotebookCellMetadataAction {
1473+
registerAction2(class ExpandCellOuputAction extends ChangeNotebookCellMetadataAction {
14741474
constructor() {
14751475
super({
14761476
id: EXPAND_CELL_OUTPUT_COMMAND_ID,

0 commit comments

Comments
 (0)