+

GitHub Copilot in Visual Studio

Your AI Pair Programmer

From autocomplete to autonomous agent โ€” the complete AI-powered coding experience inside Visual Studio

1M+
Developers Using Copilot
55%
Faster Task Completion
FREE
Tier Available
Industry Shift

The Rise of Agentic Development

We're living through the fastest evolution in developer tooling history

๐Ÿ“ˆ The Trajectory

2021-2022
Autocomplete โ€” Single-line suggestions
2023-2024
Chat Integration โ€” Conversational AI in IDE
2024-2025
Agentic Era โ€” Multi-file edits, self-correction
2025+
Autonomous Agents โ€” Plan & execute independently

๐Ÿš€ GitHub's Pace

200+
Changelog updates in 2024-2025
4/week
Average major feature releases
Weekly
New capabilities shipping
The question isn't if you'll use AI coding tools โ€” it's how effectively

The GitHub Copilot Ecosystem

More than just IDE autocomplete โ€” a complete AI-powered development platform

๐Ÿค–

GitHub Coding Agent

Fully autonomous โ€” assign issues directly to Copilot. It plans, codes, tests, and opens PRs while you focus on other work.

NEW: Works on GitHub Issues
โŒจ๏ธ

GitHub Copilot CLI

Terminal-native agent โ€” agentic coding from your command line. Multi-file edits, bash commands, full project context.

๐Ÿ”ฅ TRENDING: Power user favorite
๐Ÿ’ป

Copilot in IDEs

Embedded experience โ€” completions, chat, agent mode, code review โ€” all inside your favorite editor.

6+ IDEs: VS, VS Code, JetBrains...
GitHub.com โ€” PR reviews, issue comments
GitHub Mobile โ€” Code on the go
Copilot Extensions โ€” 3rd party integrations

Copilot in Every Major IDE

Same AI, consistent experience โ€” wherever your team works

๐Ÿ”ท

VS Code

Agent Mode โœ“ | Chat โœ“ | NES โœ“
Custom Agents โœ“ | Extensions โœ“
Most feature-complete

๐Ÿ’Ž

Visual Studio

Agent Mode โœ“ | Chat โœ“ | NES โœ“
Code Review โœ“ | MCP โœ“ | BYOK โœ“
Today's Focus โ†’

๐Ÿง 

JetBrains

Agent Mode โœ“ | Chat โœ“ | NES โœ“
Code Review โœ“ | MCP โœ“
IntelliJ, PyCharm, WebStorm...

๐ŸŽ

Xcode

Agent Mode โœ“ | Chat โœ“
Code Review โœ“ | MCP โœ“
Swift/Objective-C

โ˜€๏ธ

Eclipse

Agent Mode โœ“ | Chat โœ“
Vision โœ“ | MCP โœ“
Java enterprise

โŒจ๏ธ

Vim / Neovim

Code Completion โœ“
Lightweight integration
Terminal workflows

Visual Studio is just one entry point โ€” same subscription unlocks the entire ecosystem

GitHub Copilot in Visual Studio

Five integrated systems working together

โšก

Inline Completions

Ghost text suggestions as you type โ€” from single tokens to entire methods. Accept with Tab, partial accept word-by-word.

๐Ÿ”ฎ

Next Edit Suggestions

Predicts your next edit location. Rename cascades, pattern fixes โ€” Tab through related changes automatically.

๐Ÿ’ฌ

Copilot Chat

Ask questions, explain code, generate tests, fix errors. Slash commands (/explain, /fix, /tests) for common tasks.

๐Ÿค–

Agent Mode

Autonomous coding partner. Multi-file edits, terminal commands, error self-correction โ€” all from a single prompt.

๐Ÿ”Œ

MCP Servers

Connect external tools: GitHub, Azure DevOps, databases, Playwright. Extend Copilot beyond code.

Inline Completions

The foundation โ€” intelligent code suggestions as you type

// Calculate the monthly payment for a loan using amortization
// Accounts for compound interest, returns payment rounded to 2 decimals
public decimal CalculateMonthlyPayment(
    decimal principal, decimal annualRate, int termMonths)
{
    // ๐Ÿค– Copilot generates implementation from your comments
}
Action Shortcut
Accept entire suggestion Tab
Accept word-by-word Ctrl + โ†’
Cycle through alternatives Alt + . / Alt + ,
Dismiss suggestion Esc

Copilot Chat: Your AI Assistant

Conversational AI with powerful slash commands and context control

Slash Commands

  • ๐Ÿ“–
    /explain โ€” Explain selected code or symbols
  • ๐Ÿ”ง
    /fix โ€” Propose fixes for errors & warnings
  • ๐Ÿงช
    /tests โ€” Generate unit tests
  • ๐Ÿ“
    /doc โ€” Generate XML documentation
  • โšก
    /optimize โ€” Performance analysis

Built-in @Agents

  • ๐Ÿ”
    @workspace โ€” Search entire solution
  • ๐Ÿ›
    @Debugger โ€” Access runtime state
  • ๐Ÿ“Š
    @Profiler โ€” Analyze performance
  • ๐Ÿš€
    @Modernize โ€” Upgrade .NET versions
  • โš™๏ธ
    @VS โ€” Visual Studio help
Game Changer

Agent Mode: Autonomous Coding

Switch from "Ask" to "Agent" and Copilot becomes your autonomous pair programmer

๐Ÿ—‚๏ธ

Multi-File Edits

Creates, modifies, and deletes files across your entire solution

๐Ÿ’ป

Terminal Commands

Runs dotnet build, dotnet test, npm install โ€” with your approval

๐Ÿ”„

Self-Correction

Detects build errors and test failures, automatically iterates until fixed

Example prompt:

"Add input validation with FluentValidation to all public API
endpoints in the Controllers folder, and generate xUnit tests
for each validator"


โ†’ Agent finds files, generates validators, updates controllers,
   creates tests, runs build, fixes any compile errors automatically

Custom Instructions & Prompt Files

Teach Copilot your team's standards โ€” once

.github/copilot-instructions.md

## Project Conventions
- Use PascalCase for public members
- All public methods require XML docs
- Use async/await for I/O operations
- Prefer records for DTOs
- Target .NET 9 with nullable types
- Use FluentValidation for inputs
- Use Serilog for structured logging

.github/prompts/*.prompt.md

# new-api-endpoint.prompt.md

Generate a new API endpoint with:
- FluentValidation request validator
- MediatR handler with Serilog logging
- Unit tests using xUnit + NSubstitute
- OpenAPI attributes for Swagger

Reference: #prompt:new-api-endpoint

Result: Junior developers using #prompt:new-api-endpoint produce the same quality as staff engineers

Choose Your Model

Different AI models for different tasks โ€” select from the model picker

๐ŸŸข

GPT-4.1 / GPT-5

Default for most coding tasks. Strong code generation and completions.

๐ŸŸฃ

Claude Sonnet/Opus

Excellent for reasoning, refactoring, and complex problem-solving.

๐Ÿ”ต

Gemini 2.5 Pro

Fast responses, good for quick questions and explanations.

Plus: o3 and o4-mini for advanced reasoning tasks

Bring Your Own Key (BYOK) โ€” use your own API keys for chat

Getting Started in 5 Minutes

๐Ÿ’ก Pro Tip

Enable Agent Mode: Tools โ†’ Options โ†’ GitHub โ†’ Copilot โ†’ Copilot Chat โ†’ Enable Agent mode

Live Demo Time

Let's see GitHub Copilot in action

โœจ

We'll Demo

โ€ข Inline completions with partial accept
โ€ข Chat with /explain and /tests
โ€ข Agent mode scaffolding
โ€ข Code review before commit

๐ŸŽฏ

Key Takeaways

โ€ข Comment-first development
โ€ข Context is everything (+ button)
โ€ข Custom instructions = consistency
โ€ข Agent mode for heavy lifting

Resources & Questions

๐Ÿ“š Learn More

Official Docs:
learn.microsoft.com/visualstudio/ide/copilot-agent-mode

GitHub Changelog:
github.blog/changelog

Visual Studio Blog:
devblogs.microsoft.com/visualstudio

๐ŸŽฌ Deep Dive Guide

Complete Visual Studio Copilot Guide:
htek.dev/articles/github-copilot-visual-studio-guide

Every feature, every shortcut, every pattern โ€” with a 46-minute video walkthrough.

Questions?

Let's discuss what would help your team most