Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Improve files sorting #1343

Open
1 task done
AlexWayfer opened this issue Jun 15, 2020 · 1 comment
Open
1 task done

Improve files sorting #1343

AlexWayfer opened this issue Jun 15, 2020 · 1 comment

Comments

@AlexWayfer
Copy link

Prerequisites

Description

Please, improve the sorting of files. Shorten file names should be before longer ones.

Steps to Reproduce

  1. Create (have) two files in an opened project, like find.rb and find_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.

image

Reproduces how often:

100%

Versions

Atom    : 1.48.0
Electron: 5.0.13
Chrome  : 73.0.3683.121
Node    : 12.0.0
@Eschon
Copy link

Eschon commented Aug 4, 2020

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"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants