Skip to content

Respect sort_mode in workspace: open files#56720

Merged
ChristopherBiscardi merged 2 commits into
zed-industries:mainfrom
hron:open-files-directories-first
May 14, 2026
Merged

Respect sort_mode in workspace: open files#56720
ChristopherBiscardi merged 2 commits into
zed-industries:mainfrom
hron:open-files-directories-first

Conversation

@hron

@hron hron commented May 14, 2026

Copy link
Copy Markdown
Contributor

It's possible to configure sort_mode for the project panel like that:

"project_panel": {
"sort_mode":"directories_first"
}

However, workspace: open files doesn't respect this setting and always shows files and directories mixed. This change fixes the issue.

Release Notes:

  • Improved sorting in workspace: open files

@cla-bot cla-bot Bot added the cla-signed The user has signed the Contributor License Agreement label May 14, 2026
It's possible to configure `sort_mode` for the project panel like that:

```json
"project_panel": {
"sort_mode":"directories_first"
}
```

However, `workspace: open files` doesn't respect this setting and always
shows files and directories mixed. This change fixes the issue.
@hron hron force-pushed the open-files-directories-first branch from a81a9b1 to 8ce7127 Compare May 14, 2026 08:21
@ChristopherBiscardi ChristopherBiscardi added the area:project panel Feedback for files tree view label May 14, 2026
@ChristopherBiscardi ChristopherBiscardi self-assigned this May 14, 2026
@ChristopherBiscardi ChristopherBiscardi added this pull request to the merge queue May 14, 2026
Merged via the queue into zed-industries:main with commit f22650b May 14, 2026
32 checks passed
@hron hron deleted the open-files-directories-first branch May 16, 2026 05:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:project panel Feedback for files tree view cla-signed The user has signed the Contributor License Agreement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants