mirror of
https://github.com/zed-industries/zed.git
synced 2026-12-04 03:53:21 +01:00
Adds an `extension` value to `project_panel.sort_order` so files with the same extension appear consecutively. - Files are grouped by lowercased last extension in ascending order (`foo.tar.gz` groups under `gz`). - Extensionless files and dotfiles come first. - Within a group, names use the existing natural sort. - `sort_mode` still controls directories vs. files. Directories count as having no extension so `mixed` mode keeps a consistent (transitive) ordering. Includes unit tests in `util`, a panel-level test, a benchmark entry, and settings/docs updates. Release Notes: - Added an `extension` option to `project_panel.sort_order` that groups files by extension 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com> Co-authored-by: Kirill Bulatov <mail4score@gmail.com>