docs: Add docs for defining slash commands in extensions (#16303)
This PR adds docs for defining slash commands within extensions. Release Notes: - N/A
This commit is contained in:
parent
c45adce2e3
commit
b764174e8b
4 changed files with 138 additions and 4 deletions
|
@ -6,6 +6,7 @@ Extensions can add the following capabilities to Zed:
|
|||
|
||||
- [Languages](./languages.md)
|
||||
- [Themes](./themes.md)
|
||||
- [Slash Commands](./slash-commands.md)
|
||||
|
||||
## Directory Structure of a Zed Extension
|
||||
|
||||
|
@ -22,10 +23,6 @@ description = "My cool extension"
|
|||
repository = "https://github.com/your-name/my-zed-extension"
|
||||
```
|
||||
|
||||
<!--
|
||||
TBD: Document `slash_commands`, `indexed_docs_providers` (see: extensions/gleam/extension.toml)
|
||||
-->
|
||||
|
||||
In addition to this, there are several other optional files and directories that can be used to add functionality to a Zed extension. An example directory structure of an extension that provides all capabilities is as follows:
|
||||
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue