Open anatomatic opened 10 years ago
I'm upvoting this feature too, especially sort 10.txt
after 2.txt
.
FYI, here's the implementation in vscode:
https://github.com/Microsoft/vscode/blob/main/src/vs/base/common/comparers.ts
Upvoting this issue, When working with large number of files with versioning at this end like xx-1.0.123.yml
and xx-1.0.2
it's put 1.0.2
below the 1.0.123
. It's very annoying 😂 and it forces me to use other editors when dealing with this kind of projects.
Sorting files according to what we humans expect is rather non-trivial: https://blog.codinghorror.com/sorting-for-humans-natural-sort-order/
That might be the case. But it's also rather obvious that the way in which Sublime orders files in the sidebar right now is something that nobody would expect. I mean, what human sorts numbers like this?
I understand that there are valid technical reasons for this, but from the perspective of a user, who cares? Either sort it in a more sane way or give people the option to do so. It's not like Sublime is generally stingy with config options. Or that they clutter up an UI somewhere. They're lines in a text file.
:bump:
Looking for more flexibility on this as well. I want folders to appear next in front of file names that have the same name. I don't want a folder/file split.
To reorganize a tree view is quite a feature when it comes to big projects with many files/folders.
Related to this is: https://github.com/sublimehq/sublime_text/issues/721
I'm using Sublime Text as my notepad. Would like to have a "sort by date" feature. Currently, I'm using an insne yy-mm-dd--mm-ss <note name>.md
syntax (set up a subl $(date '+/home/va9iff/notes/%y-%m-%d--%H-%M.md')
on a shortcut) just to sort the files in the sidebar. Yeah they're all in one folder, It's like my "inbox"
This feature request is now ten years old, and it still is in high demand. Please let us sort the sidebar.
I'm going to switch to another program. Ten years of neglect isn't something you can just wave away with an article, nor something that goes away with a polite request.
@deadhitter1 I also got tired of waiting. I switched to VSCode. It's amazing something this simple was never implemented in SublimeText
Sorting files in the sidebar by date (ascending / descending) would be fantastic. Even more advanced, sort folders in the sidebar independently of each other.
I understand that there isn't a Sidebar API, so this would either need to be a core feature, or a plugin if a Sidebar API were to be released.