Skip to content

Feature request: command to delete a column #84

@PaulRBerg

Description

@PaulRBerg

Problem

The extension has commands for adding columns (Markdown Table: Insert column to the right / ...to the left) and for moving the cursor between columns (Move to Left / Move to Right), but there's no way to delete the current column.

Right now removing a column means manually deleting the cell from every row and then re-formatting, which is tedious and error-prone on larger tables. Having insert-column but no delete-column also feels asymmetric.

Solution

Add a command like Markdown Table: Delete column that removes the column under the cursor (header + separator + all body cells) and reflows the table. Bonus: a matching Delete row command if it doesn't already exist, for consistency.

Environment

  • OS: macOS Tahoe v26.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions