Kirill Bulatov
eb7154d099
Skip "open this directory" menu entry in case of errors ( #37872 )
...
Follow-up of https://github.com/zed-industries/zed/pull/37564
Release Notes:
- N/A
2025-09-09 19:53:03 +00:00
ccae033d85
Make fallback open picker more intuitive ( #37564 )
...
Closes https://github.com/zed-industries/zed/issues/34991
Before, the picker did not allow to open the current directory that was
just completed:
<img width="553" height="354" alt="image"
src="https://github.com/user-attachments/assets/e77793c8-763e-416f-9728-18d5a39b467f "
/>
pressing `enter` here would open `assets`; pressing `tab` would append
the `assets/` segment to the query.
Only backspace, removing `/` would allow to open the current directory.
After:
<img width="574" height="349" alt="image"
src="https://github.com/user-attachments/assets/bdbb3e23-7c7a-4e12-8092-51a6a0ea9f87 "
/>
The first item is now a placeholder for opening the current directory
with `enter`.
Any time a fuzzy query is appended, the placeholder goes away; `tab`
selects the entry below the placeholder.
Release Notes:
- Made fallback open picker more intuitive
---------
Co-authored-by: Peter Tripp <petertripp@gmail.com >
Co-authored-by: David Kleingeld <davidsk@zed.dev >
2025-09-04 19:34:23 +00:00
张小白 and Kirill Bulatov
0ca0914cca
windows: Add support for SSH ( #29145 )
...
Closes #19892
This PR builds on top of #20587 and improves upon it.
Release Notes:
- N/A
---------
Co-authored-by: Kirill Bulatov <kirill@zed.dev >
2025-07-08 14:34:57 +00:00
Kirill Bulatov and Smit Barmase
4aabba6cf6
Improve Zed prompts for file path selection ( #32014 )
...
Part of https://github.com/zed-industries/zed/discussions/31653
`"use_system_path_prompts": false` is needed in settings for these to
appear as modals for new file save and file open.
Fixed a very subpar experience of the "save new file" Zed modal,
compared to a similar "open file path" Zed modal by uniting their code.
Before:
https://github.com/user-attachments/assets/c4082b70-6cdc-4598-a416-d491011c8ac4
After:
https://github.com/user-attachments/assets/21ca672a-ae40-426c-b68f-9efee4f93c8c
Also
* alters both prompts to start in the current worktree directory, with
the fallback to home directory.
* adjusts the code to handle Windows paths better
Release Notes:
- Improved Zed prompts for file path selection
---------
Co-authored-by: Smit Barmase <heysmitbarmase@gmail.com >
2025-06-03 20:35:25 +00:00
张小白
11b79d0ab9
workspace: Add trailing / to directories on completion when using OpenPathPrompt ( #25430 )
...
Closes #25045
With the setting `"use_system_path_prompts": false`, previously, if the
completion target was a directory, no separator would be added after it,
requiring us to manually append a `/` or `\`. Now, if the completion
target is a directory, a `/` or `\` will be automatically added. On
Windows, both `/` and `\` are considered valid path separators.
https://github.com/user-attachments/assets/0594ce27-9693-4a49-ae0e-3ed29f62526a
Release Notes:
- N/A
2025-03-04 14:01:08 +08:00