GitHub Copilot Features
Introduction
Section titled โIntroductionโGitHub Copilot uses AI to assist developers with code suggestions, tests, and explanations directly in the editor.
Key Capabilities
Section titled โKey Capabilitiesโ- Inline code suggestions: receive context-aware completions while typing.
- Unit test generation: ask Copilot to create tests for existing functions.
- Chat and agentic mode: converse with Copilot to refactor code, explain snippets, or generate new modules.
- Copy code: quickly insert generated snippets into your editor.
- Security scanning: Copilot can highlight insecure patterns and suggest fixes.
Example: Generate a Test
Section titled โExample: Generate a TestโIn supported editors, type a comment describing the test:
// Test that add() returns sum of numbers
Copilot will suggest a corresponding Jest test block.