Implement fuzzy search when searching in folder by typing (ie: no Ctrl+F)
Currently when one uses the Ctrl+F search in files, it searches the opened folder and any sub-folder using fuzzy search; ie: it will find the file 'some_data.txt' if I type 'data'.
When searching the current folder by simply typing though, the search is done in a classic way; ie: it will only find the file 'some_data.txt' if I type 'some', not if I type 'data'.
Unless this is done by design (if so, why?), then it'd be nice if both search features behaved the same way using fuzzy search.
Blueprint information
- Status:
- Not started
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- Gabriel_P
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- New
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
This is by design, I guess to be consistent with other File Managers and the behaviour of Gtk.TreeView search. The "begins with" search is useful for quickly navigating through the directory tree by typing the first few letters of the next directory then "Enter".
It might be useful to have three search levels - begins with local, fuzzy local and fuzzy global, but the UI to switch between these would have to be considered.
A compromise might be to have two sections to the local search popup - "begins with" items listed first followed by fuzzy hits.