ZIm/crates/file_finder/src
Thorsten Ball 2b0c60043d
file finder: Fix ./ breaking new-path prompt (#15438)
Fixes #15426.

The `./` was implicitly assumed to be there by the prompt, so we'd end
up with `././foobar` when typing in an explicit `./`.

This fixes the issue by stripping `./` from the query, like we also
strip `/`.

Release Notes:

- Fixed paths starting with `./` breaking the new-path file picker when
the system prompts are disabled.
([#15426](https://github.com/zed-industries/zed/issues/15426)).
2024-07-29 17:46:52 +02:00
..
file_finder.rs chore: Bump Rust version to 1.80 (#15186) 2024-07-25 22:48:42 +02:00
file_finder_tests.rs Handle buffer diff base updates and file renames properly for SSH projects (#14989) 2024-07-23 11:32:37 -07:00
new_path_prompt.rs file finder: Fix ./ breaking new-path prompt (#15438) 2024-07-29 17:46:52 +02:00
open_path_prompt.rs remoting: Allow Add/Remove remote folder (#14532) 2024-07-16 12:01:59 -06:00