oriolmirosa / open-files

Atom package to show the open files in the tree-view panel, mirroring the functionality in Sublime Text
https://atom.io/packages/open-files
MIT License
15 stars 10 forks source link

Feature Request - Tree View #14

Open NTShop opened 7 years ago

NTShop commented 7 years ago

I wonder if you could possibly add a feature? I'm willing pay for it via PayPal.

What I'd like to have is for the package to iterate its list of open files in a tree view (like the tree view built into Atom) except the tree view would only show open files in the tree. For example, if I have the file /var/www/xyz/abc/thisfile.js open, /var/www/xyz/anotherfile.js open, and /var/testing/thisfile.js open, then the open files tree view would show:

And I could click on any level of the treeview to expand or collapse it. This way I can easily tell which file is which, at a glance. Because in my use case I have hundreds of files in various project directories, some of which have the same files names, so glancing at a list to find the right file by name isn't so easy. I have to hover over each file and wait a second to see the path in the tooltip.

Are you interested in adding that feature (with a setting to enable/disable the feature if think it should have such a setting) ?

oriolmirosa commented 7 years ago

Sorry for the delay in replying. I just moved to a different state and the last week has been crazy. I like the feature you suggest, but I need to spend some time exploring it. It would probably require a pretty thorough rewrite of the package, but if I manage to find a way forward it would make it more flexible and complete, and it would also open up other possibilities for features. I'll look into this in the next few days/weeks as I settle in my new state and I'll report back with a plan.