Open cmeeren opened 8 years ago
It should be the case on Linux too, case shouldn't change the alphabetical order.
@Nodd, file names on Linux are (to my knowledge) case sensitive, so different cases would actually mean different paths. For example, you can have three files called foo
, Foo
and FoO
in the same folder. You can't on Windows.
Yes, I understand, but I would still like to see bar/foo.py and Baz/foo.py not far from each other. The path are different but should be sorted with insensitive case. Also it's quite common to search for a directory without remembering if there was a capital letter or not. So it's needed on Window, and it's useful on Linux !
So for sorting on Linux, you'd like case-sensitive ordering but according to AaBbCc
instead of ABCabc
?
Initially I thought about having the same case-insensitive ordering on all platforms, but there are subtle differences with AaBbCc
. For example the ordering of A/a.py
, a/b.py
, A/c.py
would be wrong on Linux with case-insensitive ordering.
What I meant by AaBbCc
would apply to the full path, so it would be A/a.py
, A/c.py
, a/b.py
.
Anyhow, case insensitive sorting on Linux is more a feature request than a bug report, whereas on Windows it's more of a bug since Windows paths/filenames are case insensitive. I suggest we stick to Windows in this issue.
Description
What steps will reproduce the problem?
I don't really know how I managed it, but I opened a file where the path ended up all lowercase (in reality the path contained mixed case). This file was not sorted adjacent to other files from the same folder.
What is the expected output? What do you see instead?
I expect files from the same folder to be shown adjacent to each other in the tab bar, regardless of the case shown in the title of the Editor pane (on Windows).
Please provide any additional information below
Version and main components
Optional dependencies