Quick summary
GitHub Copilot is an AI-powered coding assistant that provides inline code completions, ghost text suggestions, and an interactive chat sidebar directly inside your editor. Developers can use it to accelerate writing, debugging, and brainstorming code without leaving their workflow.
Steps
- Open a file and start typing the code or filename you want GitHub Copilot to help with.
- Begin writing your code and let the AI autocomplete continue the work for you automatically.
- To pause suggestions, click Disable Completions to turn Copilot off for a specific time or language.
- Write a comment describing what you want to trigger a ghost text suggestion from Copilot.
- Press Tab to accept a ghost text completion and insert it into your code.
- Press Ctrl + Enter to manually trigger a GitHub Copilot suggestion panel.
- Press Ctrl + I to open Copilot inline chat directly within your editor.
- Alternatively, click the chat icon in the sidebar to open the Copilot chat panel.
- Drag and drop the chat sidebar to reposition it within your workspace.
- Use the chat sidebar to ask Copilot questions, get explanations, and brainstorm ideas.
- Click Fix using Copilot to let the AI identify and fix errors in your code automatically.
- Click the star icon to have Copilot explain the selected code or provide contextual documentation.
.gif)



