Osmose / advanced-open-file

Open files and folders in Atom easily.
https://atom.io/packages/advanced-open-file
Other
118 stars 20 forks source link

for add-project-folder, use current path if non selected #149

Closed toumorokoshi closed 7 years ago

toumorokoshi commented 7 years ago

Hi! I'm coming to atom from emacs, and advanced-open-file rocks.

I'd love to save the down keystroke when I'm adding a project folder. This patch would allow using the currentPath, if it's a folder.

toumorokoshi commented 7 years ago

It looks like the current atom does not beep if one attempts to re-add the directory: it just silently returns:

https://github.com/atom/atom/blob/v1.21.0/src/project.coffee#L233

If you'd like, I'm happy to add a beep, or other behavior in this case. But it seems like the intended behavior is to be silent about it.

Osmose commented 7 years ago

Nah, this is probably fine then. It's minor anyway.

This is out as v0.16.7 now. Thanks again!