Confession and Inquire on the State of the World for IDEs

I want to alter my installation of Atom. I am hoping you can help me get a handle on how to make this change.

I want to change what happens when deleting a file. Specifically, I want to remove the confirmation step. Instead of

right-click, delete, do you really mean it? yes done.

I want to make it

right-click, delete done

Is there a way to do this?

(funky discussion title)

You may find this package educational:
https://atom.io/packages/tree-view-menu

Personally I would <add> a contexts menu item with my own command.
Less work would be to override the backspace key command with something else.

To this end the information contained below would be helpful (guess):
https://stackoverflow.com/questions/28755778/add-context-menu-command-in-atom-io
https://flight-manual.atom.io/api/v1.43.0/ContextMenuManager/#instance-add
https://github.com/atom/tree-view#api

Cloning and modifying the tree-view package would be another option:
https://github.com/atom/tree-view/blob/master/lib/tree-view.coffee#L611

Snoop, Thank you for all the pointers. This helps a lot.

1 Like