Skip to content

feat: display description of prompt as placeholder text when user types /{prompt} in chat input#271187

Merged
bryanchen-d merged 10 commits intomainfrom
brchen/prompt-desc
Oct 21, 2025
Merged

feat: display description of prompt as placeholder text when user types /{prompt} in chat input#271187
bryanchen-d merged 10 commits intomainfrom
brchen/prompt-desc

Conversation

@bryanchen-d
Copy link
Contributor

@bryanchen-d bryanchen-d commented Oct 13, 2025

display description of prompt as placeholder text when user types /{prompt} in chat input

Fixes: #269237

@bryanchen-d bryanchen-d added this to the October 2025 milestone Oct 13, 2025
@bryanchen-d bryanchen-d added chat-input chat-prompts Prompt and Instruction files related issues labels Oct 13, 2025
@bryanchen-d bryanchen-d self-assigned this Oct 13, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds functionality to display prompt descriptions as placeholder text when users type /prompt commands in the chat input. The feature enhances user experience by providing contextual help about what each prompt does directly in the input field.

Key Changes

  • Added prompt description resolution and caching system
  • Implemented placeholder text display for prompt slash commands
  • Added event listener to refresh cached descriptions when prompts change

@bryanchen-d bryanchen-d requested a review from aeschli October 14, 2025 21:09
@bryanchen-d bryanchen-d merged commit 5493635 into main Oct 21, 2025
28 checks passed
@bryanchen-d bryanchen-d deleted the brchen/prompt-desc branch October 21, 2025 20:43
@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators Dec 5, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

chat-input chat-prompts Prompt and Instruction files related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Chat: Prompts should show the description (later the placeholder) as placeholder

4 participants