Bennet Bo Fenner
abb46473c9
assistant: Include diagnostics in slash commands by default ( #13359 )
...
Include error diagnostics by default for the following slash commands:
`/file`, `/tabs`, `/active`
Release Notes:
- N/A
2024-06-21 14:28:12 +02:00
Marshall Bowers
db0d843fb1
Allow completing slash command arguments from extensions ( #13240 )
...
This PR extends the extension API with support for completing slash
command arguments for slash commands defined in extensions.
Release Notes:
- N/A
2024-06-18 17:58:57 -04:00
Antonio Scandurra
e4ba336971
Preserve sections generated by slash commands when reloading a context ( #13199 )
...
Release Notes:
- N/A
2024-06-18 14:49:53 +02:00
Bennet Bo Fenner
d5735dab9a
assistant: Add glob matching for file
slash command ( #13137 )
...
This PR adds support for glob matching when using the `file` slash
command inside the assistant panel:
https://github.com/zed-industries/zed/assets/53836821/696612d2-486c-4ab0-bf3c-d23a3eeefd25
Release Notes:
- N/A
2024-06-17 13:53:27 +02:00
Antonio Scandurra
2b46a4a0e9
Ensure context inserted via commands is syntax-highlighted ( #13133 )
...
Release Notes:
- N/A
2024-06-17 11:57:56 +02:00
Antonio Scandurra
27e9c68988
Autocomplete commands that don't require access to workspace in prompt library ( #12674 )
...
This is useful to autocomplete prompts when writing a new one in the
prompt library.
Release Notes:
- N/A
2024-06-05 10:07:43 +02:00
Antonio Scandurra
c5b22eee2d
Polish prompt library UX ( #12647 )
...
This could still use some improvement UI-wise but the user experience
should be a lot better.
- [x] Show in "Window" application menu
- [x] Load prompt as it's selected in the picker
- [x] Refocus picker on `esc`
- [x] When creating a new prompt, if a new prompt already exists and is
unedited, activate it instead
- [x] Add `/default` command
- [x] Evaluate /commands on prompt insertion
- [x] Autocomplete /commands (but don't evaluate) during prompt editing
- [x] Show token count using the settings model, right-aligned in the
editor
- [x] Picker
- [x] Sorted alpha
- [x] 2 sublists
- Default
- Empty state: Star a prompt to add it to your default prompt
- Otherwise show prompts with star on hover
- All
- Move prompts with star on hover
Release Notes:
- N/A
2024-06-04 18:36:54 +02:00
Antonio Scandurra
a259042f92
Make slash commands more discoverable ( #12480 )
...
<img width="648" alt="image"
src="https://github.com/zed-industries/zed/assets/482957/a63df904-fbbe-4e0a-80b2-c98ebee90690 ">
Release Notes:
- N/A
Co-authored-by: Nathan <nathan@zed.dev>
2024-05-30 16:45:05 +02:00
Antonio Scandurra
66affa969a
Show recently-opened files when autocompleting /file without arguments ( #12434 )
...
<img width="1588" alt="image"
src="https://github.com/zed-industries/zed/assets/482957/ea63b046-64d6-419e-8135-4863748b58fa ">
Release Notes:
- N/A
2024-05-29 17:46:18 +02:00
Antonio Scandurra
371abd37f6
Introduce a new /tabs
command ( #12382 )
...
This inserts the content of the open tabs sorted by recency.
Release Notes:
- N/A
---------
Co-authored-by: Nathan <nathan@zed.dev>
2024-05-28 17:17:34 +02:00