ZIm/crates/assistant/src/slash_command
Marshall Bowers 3deb000f70
assistant: Add basic glob support for expanding items in /docs (#14370)
This PR updates the `/docs` slash command with basic globbing support
for expanding docs.

A `*` can be added to the item path to signify the end of a prefix
match.

For example:

```
# This will match any documentation items starting with `auk::`.
# In this case, it will pull in the docs for each item in the crate.
/docs docs-rs auk::*

# This will match any documentation items starting with `auk::visitor::`,
# which will pull in docs for the `visitor` module.
/docs docs-rs auk::visitor::*
```


https://github.com/user-attachments/assets/5e1e21f1-241b-483f-9cd1-facc3aa76365

Release Notes:

- N/A
2024-07-12 17:57:50 -04:00
..
active_command.rs assistant: Improve /docs argument completions (#13876) 2024-07-05 13:29:17 -04:00
default_command.rs assistant: Improve /docs argument completions (#13876) 2024-07-05 13:29:17 -04:00
diagnostics_command.rs assistant: Improve /docs argument completions (#13876) 2024-07-05 13:29:17 -04:00
docs_command.rs assistant: Add basic glob support for expanding items in /docs (#14370) 2024-07-12 17:57:50 -04:00
fetch_command.rs assistant: Handle http:// links in /fetch (#14243) 2024-07-11 15:30:45 -04:00
file_command.rs assistant: Improve /docs argument completions (#13876) 2024-07-05 13:29:17 -04:00
now_command.rs assistant: Improve /docs argument completions (#13876) 2024-07-05 13:29:17 -04:00
project_command.rs assistant: Improve /docs argument completions (#13876) 2024-07-05 13:29:17 -04:00
prompt_command.rs assistant: Improve /docs argument completions (#13876) 2024-07-05 13:29:17 -04:00
search_command.rs assistant: Improve /docs argument completions (#13876) 2024-07-05 13:29:17 -04:00
tabs_command.rs assistant: Improve /docs argument completions (#13876) 2024-07-05 13:29:17 -04:00
term_command.rs assistant: Improve /docs argument completions (#13876) 2024-07-05 13:29:17 -04:00