You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, thank you for creating such a wonderful editor! :)
Problem Statement
I would like to use snippets within the assistant chat, as this would open up numerous opportunities, for example:
{
// adding frequently used links"body": ["/fetch https://github.com/raycast/script-commands#api"],
// or prompts"body": ["Improve this text but keep the style as similar as possible."],
}
Solution Proposal
Create a snippet "namespace" for assistant snippets, such as the file assistant.json, and utilize the same completion (or part of it) as in the editor itself.
Alternative: I could also create an extension that utilizes the slash command /snippet [snippet name] for this purpose (Reference). Although I think it would be nicer to be integrated into Zed.
I would be happy to contribute this feature if you're interested. (I could probably use some guidance on where to start.)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi there,
First of all, thank you for creating such a wonderful editor! :)
Problem Statement
I would like to use snippets within the assistant chat, as this would open up numerous opportunities, for example:
Solution Proposal
Create a snippet "namespace" for assistant snippets, such as the file
assistant.json
, and utilize the same completion (or part of it) as in the editor itself.Alternative: I could also create an extension that utilizes the slash command
/snippet [snippet name]
for this purpose (Reference). Although I think it would be nicer to be integrated into Zed.I would be happy to contribute this feature if you're interested. (I could probably use some guidance on where to start.)
Beta Was this translation helpful? Give feedback.
All reactions