Custom Quick Action

QuickAction will trigger by control + BACK_SLASH(\) key. The default behavior is to show a Input Dialog, and you can input your prompt.


Demo project:

For more, see in example:

You can custom task by your own, by put prompts files under prompts/quick:

type: QuickAction
name: Continue Writing
category: Default
language: Markdown
interaction: AppendCursorStream

You are an assistant helping a user write a document. Output how the document continues, no more than 3 sentences. Output in markdown format. Do not use links.

Use this format, replacing text in brackets with the result. Do not include the brackets in the output:

[Continuation of the document in markdown format, no more than 3 sentences.]