๐ Step 9: AI/LLM#264 / 291
GitHub Copilot
GitHub Copilot
๐One-line summary
GitHub and OpenAI's IDE code completion and chat assistant.
๐กEasy explanation
GitHub and OpenAI's code-completion tool. As you type a variable name, it suggests the next lines in faded gray.
โจExample
function calculateTax(
price, region
) {
// Copilot suggestion
return price * taxRate[region];
}
Tab to accept the gray suggestion
โกVibe coding prompt examples
>_
Tell me how to write function signatures and comments so GitHub Copilot's autocomplete becomes maximally useful.
>_
Build a security and licensing checklist for adopting Copilot Chat and Workspace in a team.
>_
Copilot keeps recommending old APIs. What project setup forces it to stick to the latest API?
Try these prompts in your AI coding assistant!