Improve files sorting
AlexWayfer opened this issue · 1 comments
AlexWayfer commented
Prerequisites
- Put an X between the brackets on this line if you have done all of the following:
- Reproduced the problem in Safe Mode: https://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
- Followed all applicable steps in the debugging guide: https://flight-manual.atom.io/hacking-atom/sections/debugging/
- Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
- Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
- Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages
Description
Please, improve the sorting of files. Shorten file names should be before longer ones.
Steps to Reproduce
- Create (have) two files in an opened project, like
find.rb
andfind_or_create.rb
Expected behavior:
find.rb
is above of find_or_create.rb
.
https://repl.it/@AlexWayfer/UnfortunateComfortableOop
Actual behavior:
find_or_create.rb
is above of find.rb
.
Reproduces how often:
100%
Versions
Atom : 1.48.0
Electron: 5.0.13
Chrome : 73.0.3683.121
Node : 12.0.0
Eschon commented
I've noticed that too. I guess the problem is that the whole file name, including the extension is used for sorting. And _
is sorted before .
Not sure if this would be considered a bug or if that just is expected behaviour. It's not a huge deal in my opinion but it would be nice if it could be "fixed"