Name all notebook action classes

This commit is contained in:
Rob Lourens 2021-05-03 16:17:07 -07:00
parent ffe6e29994
commit baa45af099

View file

@ -508,7 +508,7 @@ registerAction2(class ExecuteCellInsertBelow extends NotebookCellAction {
}
});
registerAction2(class extends NotebookAction {
registerAction2(class RenderAllMarkdownCellsAction extends NotebookAction {
constructor() {
super({
id: RENDER_ALL_MARKDOWN_CELLS,
@ -521,7 +521,7 @@ registerAction2(class extends NotebookAction {
}
});
registerAction2(class extends NotebookAction {
registerAction2(class ExecuteNotebookAction extends NotebookAction {
constructor() {
super({
id: EXECUTE_NOTEBOOK_COMMAND_ID,
@ -623,7 +623,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorContext, {
when: NOTEBOOK_EDITOR_FOCUSED
});
registerAction2(class extends NotebookCellAction {
registerAction2(class ChangeCellToCodeAction extends NotebookCellAction {
constructor() {
super({
id: CHANGE_CELL_TO_CODE_COMMAND_ID,
@ -647,7 +647,7 @@ registerAction2(class extends NotebookCellAction {
}
});
registerAction2(class extends NotebookCellAction {
registerAction2(class ChangeCellToMarkdownAction extends NotebookCellAction {
constructor() {
super({
id: CHANGE_CELL_TO_MARKDOWN_COMMAND_ID,
@ -755,7 +755,7 @@ abstract class InsertCellCommand extends NotebookAction {
}
}
registerAction2(class extends InsertCellCommand {
registerAction2(class InsertCodeCellAboveAction extends InsertCellCommand {
constructor() {
super(
{
@ -776,7 +776,7 @@ registerAction2(class extends InsertCellCommand {
}
});
registerAction2(class extends InsertCellCommand {
registerAction2(class InsertCodeCellBelowAction extends InsertCellCommand {
constructor() {
super(
{
@ -797,7 +797,7 @@ registerAction2(class extends InsertCellCommand {
}
});
registerAction2(class extends NotebookAction {
registerAction2(class InsertCodeCellAtTopAction extends NotebookAction {
constructor() {
super(
{
@ -822,7 +822,7 @@ registerAction2(class extends NotebookAction {
}
});
registerAction2(class extends NotebookAction {
registerAction2(class InsertMarkdownCellAtTopAction extends NotebookAction {
constructor() {
super(
{
@ -869,7 +869,7 @@ MenuRegistry.appendMenuItem(MenuId.NotebookCellListTop, {
when: NOTEBOOK_EDITOR_EDITABLE.isEqualTo(true)
});
registerAction2(class extends InsertCellCommand {
registerAction2(class InsertMarkdownCellAboveAction extends InsertCellCommand {
constructor() {
super(
{
@ -885,7 +885,7 @@ registerAction2(class extends InsertCellCommand {
}
});
registerAction2(class extends InsertCellCommand {
registerAction2(class InsertMarkdownCellBelowAction extends InsertCellCommand {
constructor() {
super(
{
@ -923,7 +923,7 @@ MenuRegistry.appendMenuItem(MenuId.NotebookCellListTop, {
when: NOTEBOOK_EDITOR_EDITABLE.isEqualTo(true)
});
registerAction2(class extends NotebookCellAction {
registerAction2(class EditCellAction extends NotebookCellAction {
constructor() {
super(
{
@ -952,7 +952,7 @@ registerAction2(class extends NotebookCellAction {
}
});
registerAction2(class extends NotebookCellAction {
registerAction2(class QuitEditCellAction extends NotebookCellAction {
constructor() {
super(
{
@ -1054,7 +1054,7 @@ export function runDeleteAction(viewModel: NotebookViewModel, cell: ICellViewMod
}
}
registerAction2(class extends NotebookCellAction {
registerAction2(class DeleteCellAction extends NotebookCellAction {
constructor() {
super(
{
@ -1086,7 +1086,7 @@ registerAction2(class extends NotebookCellAction {
}
});
registerAction2(class extends NotebookCellAction {
registerAction2(class ClearCellOutputsAction extends NotebookCellAction {
constructor() {
super({
id: CLEAR_CELL_OUTPUTS_COMMAND_ID,
@ -1308,7 +1308,7 @@ registerAction2(class ChangeCellLanguageAction extends NotebookCellAction<ICellR
}
});
registerAction2(class extends NotebookAction {
registerAction2(class ClearAllCellOutputsAction extends NotebookAction {
constructor() {
super({
id: CLEAR_ALL_CELLS_OUTPUTS_COMMAND_ID,
@ -1357,7 +1357,7 @@ registerAction2(class extends NotebookAction {
}
});
registerAction2(class extends NotebookCellAction {
registerAction2(class CenterActiveCellAction extends NotebookCellAction {
constructor() {
super({
id: CENTER_ACTIVE_CELL,
@ -1401,7 +1401,7 @@ abstract class ChangeNotebookCellMetadataAction extends NotebookCellAction {
abstract getMetadataDelta(): NotebookCellMetadata;
}
registerAction2(class extends ChangeNotebookCellMetadataAction {
registerAction2(class CollapseCellInputAction extends ChangeNotebookCellMetadataAction {
constructor() {
super({
id: COLLAPSE_CELL_INPUT_COMMAND_ID,
@ -1424,7 +1424,7 @@ registerAction2(class extends ChangeNotebookCellMetadataAction {
}
});
registerAction2(class extends ChangeNotebookCellMetadataAction {
registerAction2(class ExpandCellInputAction extends ChangeNotebookCellMetadataAction {
constructor() {
super({
id: EXPAND_CELL_INPUT_COMMAND_ID,
@ -1447,7 +1447,7 @@ registerAction2(class extends ChangeNotebookCellMetadataAction {
}
});
registerAction2(class extends ChangeNotebookCellMetadataAction {
registerAction2(class CollapseCellOutputAction extends ChangeNotebookCellMetadataAction {
constructor() {
super({
id: COLLAPSE_CELL_OUTPUT_COMMAND_ID,
@ -1470,7 +1470,7 @@ registerAction2(class extends ChangeNotebookCellMetadataAction {
}
});
registerAction2(class extends ChangeNotebookCellMetadataAction {
registerAction2(class ExpandCellOuputAction extends ChangeNotebookCellMetadataAction {
constructor() {
super({
id: EXPAND_CELL_OUTPUT_COMMAND_ID,