Ai Coding Tools

How to Use GitHub Copilot for Enhanced Code Review in 30 Minutes

By BTW Team3 min read

Comparing tools? See the AI tools tested on the show.

In short

A step-by-step guide for developers on leveraging GitHub Copilot to streamline code review processes within half an hour.

If you’ve ever found yourself drowning in lines of code during a code review, you’re not alone. Code reviews can be tedious, and sometimes it feels like you’re just looking for bugs instead of improving the code quality. Enter GitHub Copilot—a tool that can assist in making your code reviews faster, more efficient, and even a bit more enjoyable. In this guide, I’ll walk you through how to leverage GitHub Copilot to enhance your code review process in just 30 minutes.

Prerequisites for Using GitHub Copilot

Before diving in, you’ll need a few things set up:

  1. GitHub Account: You need an active GitHub account.
  2. Visual Studio Code: Copilot works as an extension in VS Code.
  3. GitHub Copilot Subscription: At $10/month, you can access Copilot features, including code suggestions and improvements.
  4. Basic Knowledge of Git: Familiarity with Git commands will help you navigate reviews.

Step 1: Install GitHub Copilot in Visual Studio Code

  1. Open Visual Studio Code.
  2. Navigate to the Extensions view by clicking on the Extensions icon in the Activity Bar.
  3. Search for "GitHub Copilot" and click "Install".
  4. Once installed, sign in with your GitHub account.

Expected Output: After installation, you should see a Copilot icon in the status bar indicating that it’s active.

Step 2: Start Your Code Review

  1. Open the Pull Request: Navigate to the pull request you want to review within your repository.
  2. Review the Code: Click on the files changed tab to see the code changes.
  3. Use Copilot Suggestions: As you review, you can start typing comments or questions in the code. Copilot will provide suggestions based on context.

Example: Improving a Function

If you’re reviewing a function that seems overly complex, start typing a comment like “This function could be simplified by...” and watch as Copilot suggests a refactored version.

Step 3: Provide Contextual Feedback

  1. Inline Comments: Use Copilot to generate inline comments that are contextually relevant.
  2. Ask for Alternatives: If you encounter a piece of code that could be optimized, type “Can this be improved?” and see what Copilot suggests.

Expected Output: You’ll see relevant code snippets that can enhance the function or logic based on what you’ve typed.

Step 4: Finalize Your Review

Once you’ve made your comments and suggestions:

  1. Summarize Your Findings: Use Copilot to draft a summary comment that encapsulates your overall feedback.
  2. Merge or Request Changes: Decide based on the suggestions whether to merge the pull request or request changes.

Troubleshooting Common Issues

  • Copilot is not suggesting anything: Ensure you’re actively typing comments or questions in the code. If it still doesn’t work, try restarting VS Code.
  • Suggestions are irrelevant: Sometimes, Copilot might suggest code that doesn’t fit your context. This can happen with less common coding patterns or libraries.

What’s Next?

Once you’ve successfully integrated Copilot into your code review process, consider exploring its other features, such as:

  • Pair Programming: Use Copilot while coding to get real-time suggestions.
  • Learning New Languages: Experiment with Copilot in different programming languages to see how it can assist in learning.

Conclusion: Start Here

Using GitHub Copilot for code reviews can significantly speed up the process and improve code quality. Start by installing the extension, reviewing your first pull request, and utilizing Copilot’s suggestions to provide meaningful feedback.

In our experience, the initial learning curve is worth it—especially when you can save time and enhance your code review quality.

What We Actually Use: We primarily use GitHub Copilot for code reviews and pair programming. It’s not perfect, but it catches a lot of issues we might overlook and provides solid suggestions.

Watch real AI builds every week

Built This Week is a weekly podcast where Jordan Metzner and Sam Nadler build something real with AI every episode, test new AI tools and talk with founders who build with AI.

See the tools

Watch real AI builds every week

Built This Week is a weekly podcast where Jordan Metzner and Sam Nadler build something real with AI every episode, test new AI tools and talk with founders who build with AI.

See the tools
Ai Coding Tools

3 AI Coding Tools That Are Overrated (and Why You Should Avoid Them)

3 AI Coding Tools That Are Overrated (and Why You Should Avoid Them) In the everevolving landscape of AI coding tools, it's easy to get swept up in the hype. As indie hackers and s

Nov 30, 20263 min read
Ai Coding Tools

5 Ways AI Coding Tools Can Accelerate Your MVP Development in 2026

5 Ways AI Coding Tools Can Accelerate Your MVP Development in 2026 In 2026, the landscape for indie hackers and solo founders has evolved significantly, especially with the advent

Nov 26, 20264 min read
Ai Coding Tools

5 AI Coding Tools That Make Legacy Code Feel Brand New in 2026

5 AI Coding Tools That Make Legacy Code Feel Brand New in 2026 If you’re a developer stuck maintaining legacy code, you know the frustration. It’s like navigating a maze blindfolde

Nov 23, 20264 min read
Ai Coding Tools

10 AI Coding Tools That Will Save You Hours of Debugging in 2026

10 AI Coding Tools That Will Save You Hours of Debugging in 2026 Debugging can feel like a neverending cycle of frustration. Whether you're a solo founder or an indie hacker, spend

Nov 18, 20265 min read
Ai Coding Tools

10 Common Mistakes When Using AI Coding Tools for MVP Development

10 Common Mistakes When Using AI Coding Tools for MVP Development As a founder in 2026, you’re likely aware that AI coding tools can significantly speed up the MVP development proc

Nov 16, 20264 min read
Ai Coding Tools

5 AI Coding Myths Every Beginner Developer Should Ditch in 2026

5 AI Coding Myths Every Beginner Developer Should Ditch in 2026 As a beginner developer, you’ve probably come across a ton of buzz surrounding AI coding tools. But with all the hyp

Nov 12, 20263 min read