zed/crates/recent_projects
Piotr Osiewicz f164eb5289 recent_projects: Perform fuzzy search on compacted paths.
Match highlighting for recent projects picker was off, because the path representation was compacted - for a path '/Users/hiro/Projects/zed' we compact it to use a tilde instead of home directory. However, the highlight positions were always calculated for a full path, leading to a mismatch in highlights.
This commit addresses this by running fuzzy search on compacted paths instead of using long paths. This might lead to a slight performance hit, but given that recent projects modal shouldn't have that many items in the first place, it should be okay.

Z-2546
2023-07-11 15:23:17 +02:00
..
src recent_projects: Perform fuzzy search on compacted paths. 2023-07-11 15:23:17 +02:00
Cargo.toml Project dropdown menu 2023-06-30 14:05:55 +02:00