janisdd / vscode-edit-csv

vs code extension to edit csv files with an excel like table ui
MIT License
229 stars 35 forks source link

Keyboard Shortcut to delete the current row #112

Closed urjeetpatel closed 1 year ago

urjeetpatel commented 1 year ago

Version?

Feature

There is a current global keyboard shortcut to add a new row / column but no corresponding keyboard shortcut to delete the current row / column. Please consider adding a keyboard shortcut to delete the current row

janisdd commented 1 year ago

Sure but which keys should be used?

urjeetpatel commented 1 year ago

I think it should match the insert rows combination. so ctrl+shift+alt+minus

janisdd commented 1 year ago

Im wondering what should happen if an area (more than one row) is selected and this shortcut is used?

Any opinions?

urjeetpatel commented 1 year ago

Going from the convention set by excel I think that the expected behavior should be delete all the rows in the selection.

janisdd commented 1 year ago

The shortcut will now do the same thing as the context menu action (should do the same thing as excel).

Will ship with next update.