Sort order of file picker is inconistent #3877

Open
opened 2026-02-16 17:41:47 -05:00 by yindo · 1 comment
Owner

Originally created by @willmcgugan on GitHub (Dec 26, 2025).

Originally assigned to: @rekram1-node on GitHub.

Description

The same search can produce differently ordered files in the file picker.

OpenCode version

1.0.201

Steps to reproduce

Open the file picker. Enter a search and note the order of the files. Add a character then delete it. Note the order of files is different.

Screenshot and/or share link

https://github.com/user-attachments/assets/d85de1fb-6334-42d5-ac5d-559e0ba722ba

Operating System

macOS

Terminal

Ghostty

Originally created by @willmcgugan on GitHub (Dec 26, 2025). Originally assigned to: @rekram1-node on GitHub. ### Description The same search can produce differently ordered files in the file picker. ### OpenCode version 1.0.201 ### Steps to reproduce Open the file picker. Enter a search and note the order of the files. Add a character then delete it. Note the order of files is different. ### Screenshot and/or share link https://github.com/user-attachments/assets/d85de1fb-6334-42d5-ac5d-559e0ba722ba ### Operating System macOS ### Terminal Ghostty
yindo added the bug label 2026-02-16 17:41:47 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Dec 26, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #5567: fuzzysort doesn't prioritize results/matches that start with the user input

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Dec 26, 2025): This issue might be a duplicate of existing issues. Please check: - #5567: fuzzysort doesn't prioritize results/matches that start with the user input Feel free to ignore if none of these address your specific case.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3877