Skip to content

Feature Request: Support for Sleep/Wait Commands in Copilot Chat #253412

Open
@nerdCopter

Description

@nerdCopter

Feature Request: Support for Sleep/Wait Commands in Copilot Chat

Summary
I would like to request the ability for GitHub Copilot in Visual Studio Code to support a "sleep" or "wait" command. This would allow users to introduce a delay before Copilot executes a prompt or action within the chat or agent interface.

Use Case
There are scenarios where a developer may want Copilot to wait for a specific amount of time before executing a prompt. For example:

  • Waiting for external processes or build steps to complete before Copilot continues with the next action.
  • Scheduling prompts or actions to occur after a delay for demonstration, teaching, or automation purposes.
  • Scheduling prompts to execute after walking away from the computer.

Proposed Solution
Add support for a /sleep or /wait command in Copilot Chat, such as:

/sleep 10m
<copilot prompt here>

or

/wait 120s
<copilot prompt here>

This would instruct Copilot to pause for the specified duration before processing the next prompt or action.

Benefits

  • Enables more flexible and automated workflows.
  • Useful for demos, CI/CD scenarios, and teaching environments.
  • Reduces manual intervention when chaining multiple Copilot actions.

Alternatives Considered
Currently, users must manually wait before submitting prompts, which is not efficient for automation or scripting scenarios.

References

Thank you for considering this feature.

Metadata

Metadata

Labels

staleIssues that have not been triaged in an appropriate amount of timetriage-needed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions