mirror of
https://github.com/zed-industries/zed.git
synced 2026-05-25 23:04:27 +00:00
Closes #47678 When using mixed sort mode in the project panel, a folder and file with the same name but different case (e.g., `hello` folder and `Hello.txt` file) would sort incorrectly. The file could appear between an expanded folder and its contents. The issue was in `compare_rel_paths_mixed`: the tie-breaker logic used case-sensitive comparison (`a == b`) to decide directory-before-file ordering, but `natural_sort_no_tiebreak` already considers entries equal case-insensitively. Changed to use `eq_ignore_ascii_case` to match. Release Notes: - Fixed project panel mixed sort mode ordering incorrectly when a file and folder share the same name with different casing. |
||
|---|---|---|
| .. | ||
| command | ||
| test | ||
| arc_cow.rs | ||
| archive.rs | ||
| command.rs | ||
| fs.rs | ||
| markdown.rs | ||
| paths.rs | ||
| process.rs | ||
| redact.rs | ||
| rel_path.rs | ||
| schemars.rs | ||
| serde.rs | ||
| shell.rs | ||
| shell_builder.rs | ||
| shell_env.rs | ||
| size.rs | ||
| test.rs | ||
| time.rs | ||
| util.rs | ||