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

Drag and drop order #7

Open ronilaukkarinen opened 7 years ago

ronilaukkarinen commented 7 years ago

Hello, I really love the package, but is it possible to add drag and drop order change support like in ST?

oriolmirosa commented 7 years ago

Right now, if the name of a file is changed the list of open files is not re-ordered. I was planning on working on that next, and when I saw this issue I thought that drag and drop would not be compatible with that automatic re-sorting. But now I think that the best way to deal with this would be to provide the option to sort automatically (with re-sorting when there's a name change), and then an option in which files are added in the order in which they are opened (without sorting) and can then be re-arranged manually through drag and drop. How does that sound? In any case, I'm swamped with work now and I won't be able to get to this right away, but I'll leave the issue open and I'll try to get this done in the next few weeks.

romanws commented 5 years ago

Upvoting this. I've installed Atom today and I'll keep using TextWrangler until this feature gets implemented :) Also I think creating a new untitled file should show the new file at the bottom of the list. And maybe assign a number to each new file? "untitled 1", "untitled 2", etc.