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

Open file order is alpha and doesn't match tab order #6

Closed EmilVarona closed 7 years ago

EmilVarona commented 7 years ago

Hi, I installed this today and expected the file list order to match the tab order (as it does in Sublime Text). The settings allow for a sort order options of base, ext and dir. How can I get this to list the files in the same order as the tabs?

oriolmirosa commented 7 years ago

At this point, open-files does not follow or affect the order of the tabs. The mechanism to sort the files in open-files, however, is taken directly from an Atom package called tab-smart-sort. If you install it and set the tab order to be the same as the files order in open-files, you will achieve what you want.