Feature: Order option for dot / hidden files
What feature or improvement do you think would benefit Files?
Currently .files listed first. It would be nice to have an option, to use the current sorting and additionally choose to sort within this order if dot-files should be shown first, last, or by name (ignoring the dot).
Requirements
- Additional sort option of dot-fiels within the current sort-orders
- And/or an option for Hidden Elements to ignore the dot for sorting
Files Version
3.9.1.0
Windows Version
11
Comments
No response
Thanks for the feedback
@Josh65-2201 Hello, I'd be interested in contributing to this ,may I take it on as my first contribution to the project?
If @yaira2 approved this feature.
@yaira2 Hi! Just checking in to see if this feature is approved. I'd love to take it on as my first contribution. Thanks!
@MohabASHRAF-byte I would like to hold off until we gather more feedback, but if we decide to move forward, I think the best way to go about this is by adding a toggle under sorting settings to 'Ignore dot when sorting dot files' (the text can use some tweaking).
@MohabASHRAF-byte If you want you can work on issues listed here https://github.com/orgs/files-community/projects/3/views/7
For code quality and styles see https://files.community/docs/contributing/code-style
For further help on contributing please join our Discord https://discord.gg/files and ask in the app-development channel.
To be clear, I see little reason not to do this, but I'd like to give it a few weeks before approving.
It is weird that the default sorting for folders that users aren't supposed to touch much are at the beginning. I mean, this is true for all major file browsers (though on Linux, they tend to be treated as hidden)
Does anyone have a use case to keep dot files at the top of the list (I expect that there are a number of use cases), or would it be okay to make this change without a setting?
Do you mean to sort it as if the . wasn't in the name?
Do you mean to sort it as if the
.wasn't in the name?
Yes, to simply ignore it by default. Although, I suspect that some users purposely use dots on items they want to be sorted first.
I think a setting still makes sense, as you said, seems people probably do it on purpose to get it to the top, some people wanting the dot to be ignored, but since these folders tend to not supposed to be used by the user much, having it be below the rest of the files instead also makes sense