Allow an initial prompt to be associated with inline assist (#14816)

Release Notes:

- Added the ability to create custom inline assist bindings that
pre-fill a prompt from your keymap, e.g.:
    ```json
    [
        {
            "context": "Editor && mode == full",
            "bindings": {
                "ctrl-shift-enter": [
                    "assistant::InlineAssist",
                    { "prompt": "Build a snake game" }
                ]
            }
        }
    ]
    ```

---------

Co-authored-by: Nathan <nathan@zed.dev>
This commit is contained in:
Antonio Scandurra
2024-07-19 17:13:48 +02:00
committed by GitHub
co-authored by Nathan
parent d61eaea4b9
commit 4c7f1032a4
8 changed files with 52 additions and 54 deletions
+1 -1
View File
@@ -18,7 +18,7 @@
# Using Zed
- [Multibuffers](./multibuffers.md)
- [Assistant Panel](./assistant-panel.md)
- [Language model integration](./language-model-integration.md)
- [Channels](./channels.md)
- [Collaboration](./collaboration.md)
- [Git](./git.md)