david-driscoll / atom-yeoman

A yeoman ui for atom.io
https://github.com/david-driscoll/atom-yeoman
MIT License
26 stars 5 forks source link

Add selected folder to list #12

Closed sgwill closed 9 years ago

sgwill commented 9 years ago

This is a first stab at adding the currently selected folder to the list. I can't find an Atom API that gives us the currently selected file or folder, so I had to fudge it a bit.

See #9

I didn't resort the items, because it looked like right now the view is generic.

david-driscoll commented 9 years ago

I need to test this, but it looks good.

We should probably make it an option in the future, so that someone can default the behavior (only use the selected folder or only use the root folder)

david-driscoll commented 9 years ago

Landed as 84ef4c0