Copilot · Code

Copilot code completion

Inline code suggestion prompt.

All topics / Copilot prompts

Replace highlighted brackets, then copy.

In [language/framework], suggest code to [task]. Provide minimal snippet ready to paste, include imports, and short comment if non-obvious.
  • language/framework - replace the bracketed field with your info
  • task - replace the bracketed field with your info
  • Language/framework
  • Task
  • Constraints
  • Style guide
  • Code snippet
  • Import list
  • Comment
  • Avoid broad scaffolding; keep tight.
  • Match existing style if shown.
  • Note any version-specific calls.