Skip to content

[FEATURE]: Preset phrases for quick prompt insertion #31988

Description

@ponponon

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Related: #25817

I frequently type the same instructions across sessions (coding conventions, project context, common tasks). It would save a lot of repetitive typing to have a "presets" feature in the prompt input.

What I'd like:

  1. A button in the prompt input toolbar that opens a list of saved presets
  2. Clicking a preset inserts its text into the editor
  3. Variable support (e.g. {date}, {file}) that resolves at insertion time
  4. A simple UI to add, edit, delete, and reorder presets
  5. Presets stored as a JSON config file (e.g. in the project or user config directory)

Why a new issue: I commented on #25817 offering a working implementation but haven't heard back. Opening a fresh issue to discuss whether this is something the team would accept as a PR.

I have a working implementation ready and happy to adjust based on feedback.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions