zed/assets
Mikayla Maki 97469cd049
Improve slash commands (#16195)
This PR:

- Makes slash commands easier to compose by adding a concept,
`CompletionIntent`. When using `tab` on a completion in the assistant
panel, that completion item will be expanded but the associated command
will not be run. Using `enter` will still either run the completion item
or continue command composition as before.
- Fixes a bug where running `/diagnostics` on a project with no
diagnostics will delete the entire command, rather than rendering an
empty header.
- Improves the autocomplete rendering for files, showing when
directories are selected and re-arranging the results to have the file
name or trailing directory show first.

<img width="642" alt="Screenshot 2024-08-13 at 8 12 43 PM"
src="https://github.com/user-attachments/assets/97c96cd2-741f-4f15-ad03-7cf78129a71c">


Release Notes:

- N/A
2024-08-13 23:06:07 -07:00
..
fonts Fix font selection on macOS (#13615) 2024-06-27 17:02:45 -06:00
icons assistant: Change the quote selection crease icon (#16180) 2024-08-13 17:31:23 -03:00
keymaps Improve slash commands (#16195) 2024-08-13 23:06:07 -07:00
prompts Simplify inline assist to avoid spurious xml in completions (#16184) 2024-08-13 17:05:50 -04:00
settings assistant: Put /docs and /project behind a setting (#16186) 2024-08-13 17:32:24 -04:00
sounds Update collaboration sounds, add sounds to screensharing 2023-07-04 16:18:42 -04:00
themes linux: Indicate when the window is focused (#14266) 2024-07-12 14:20:58 -07:00