GitHub Copilot by GitHub/Coding
Copilot guesses your next edit
Change something in your code and Copilot suggests the follow-up change, even further down the file. It shows the edit as a red and green diff and marks the line with an arrow. Tab takes you there, Tab again accepts it.

About GitHub Copilot. GitHub Copilot is an AI coding assistant inside editors like VS Code, Visual Studio, Xcode and JetBrains IDEs.
What to notice
- 1
It can change code, not just add it
The suggestion can delete and rewrite lines. You see it as a red and green diff instead of gray ghost text.
- 2
An arrow shows where the edit is
A small arrow in the margin points to the line, even when it's far away from your cursor.
- 3
Tab twice: go there, then accept
The first Tab moves you to the change, the second applies it. You always see it before it happens.
- 4
Escape makes it go away
Saying no costs one key, so a bad suggestion never breaks your flow.
Why it works
Most coding is changing existing code
Rename a variable and you have to update every place it's used. Copilot handles that boring part.
You see the change before it lands
Because the diff shows exactly what will change, people accept more suggestions.
Nothing new to learn
Tab and Escape already mean yes and no to developers. The feature uses habits they have.
Use it in your product
Do this
- Use what the user just did to guess what they'll do next.
- Show suggested changes as a before and after, and never apply them silently.
- Point to suggestions outside the visible area with a small, consistent marker.
- Use the keys people already use for yes and no.
- When the change is far from where the user is working, separate "go there" from "accept".
Watch out
- Suggestions that pop up while the user is typing somewhere else feel jumpy. Show them when the user pauses.
- A small arrow in the margin is easy to miss. Add a hint the first few times.
Join the aidesign.gallery list
For new patterns, guides and the book we are writing. It is free.
Related patterns
Warp/Coding
Describe it, see the command, then run it
In the Warp terminal you type what you want in plain English and get the matching command, with blanks for the parts you need to fill in. Nothing runs until you press Enter.
Claude Artifacts/Assistants
Bigger results get their own window
When Claude creates something substantial, like code, a document or a small app, it opens in a panel next to the chat. The conversation stays on the left, the thing you're building stays on the right.
Gemini in Gmail/Email
Write it rough, let AI polish it
In Gmail you can type a quick, messy reply and tap "Polish". Gemini turns it into a proper email and keeps what you said. You compare both, then replace yours or keep it.
