Skip to content

rust-explorer: sorted by date, folders and files are listed together - #248

Closed
cute-johnny wants to merge 1 commit into
Lemxy:mainfrom
cute-johnny:rust-explorer-date-sort-mixed
Closed

cute-johnny wants to merge 1 commit into
Lemxy:mainfrom
cute-johnny:rust-explorer-date-sort-mixed

Conversation

@cute-johnny

Copy link
Copy Markdown
Contributor

Sorted by Date modified, folders and files are now listed together, newest first, folder or file. A new Sort by → Folders first by date too item (%APPDATA%\rust-explorer\date-folders-first) brings back folders on top for that column. The existing Folders first switch is unchanged.

This changes the default for the date column. If you would rather keep folders on top by default and make mixing the opt-in, say so and I will flip the marker.

Testing

  • Built locally with the x86_64-pc-windows-gnu toolchain (CI builds MSVC): cargo build --release with no warnings, cargo test --release in plugins/rust-explorer: 39 passed. The date-column assertion in folders_first_then_by_the_chosen_column now expects the mixed order.
  • Not checked by hand yet.

🤖 Generated with Claude Code

Sorted by Date modified, newest is newest, folder or file. "Folders first by date too" in Sort by brings back folders on top for that column; "Folders first" is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Lemxy

Lemxy commented Nov 29, 2026

Copy link
Copy Markdown
Owner

Thank you for the contribution. I am going to keep the current default, with folders on top when sorting by date too, like the other columns. If you want them mixed, the existing Folders first switch does that. Closing this one.

@Lemxy Lemxy closed this Nov 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants