Lona / Lona

A tool for defining design systems and using them to generate cross-platform UI code, Sketch files, and other artifacts.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Lona Studio] Delete files by pressing "Delete" button

vldmrkl opened this issue · comments

Summary of Idea

At the moment, you can delete files in the file navigator only by using the context menu. It would be really nice to be able to delete files just by pressing "delete" button.

Expected Behavior

A user should select a file and press "delete" button on the keyboard.

Current Behavior

A user has to select file, right click it, and select "Delete" option.
Screen Shot 2019-03-27 at 6 56 39 PM

i'd say it's usually cmd + delete, not just delete

Great suggestion!

I just tried in VSCode and Xcode, and it looks like its just Delete, but then it prompts for confirmation. I think we could do the same. Cmd+Delete would work too, although I would still want to prompt for confirmation, so I don't think the Cmd is needed at that point.

Screenshot_3_28_19__12_02_PM

Screenshot_3_28_19__12_03_PM

Oh interesting, for me vs code only cmd + delete works and there is no confirm alert.

Maybe I click on the do not ask me again once