Ai Coding Tools

How to Use GitHub Copilot to Improve Your Coding Workflow in 2 Hours

By BTW Team4 min read

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

In short

A step-by-step guide for developers looking to enhance productivity using GitHub Copilot for their coding tasks effectively.

If you're a solo founder or indie hacker, you know how precious your time is. Every minute counts, especially when you're coding. Enter GitHub Copilot, an AI-powered coding assistant that can help you write code faster and with fewer errors. But how do you actually integrate it into your workflow? In this guide, I'll share how to set up GitHub Copilot in around two hours and maximize its potential to improve your coding workflow.

Prerequisites

Before diving in, make sure you have the following:

  • GitHub Account: You need an account to access GitHub Copilot.
  • Visual Studio Code: Copilot works as an extension in this popular code editor.
  • Basic Coding Knowledge: Familiarity with the programming language you intend to use is essential.

Step-by-Step Setup

1. Install Visual Studio Code (30 minutes)

If you haven't already, download and install Visual Studio Code from the official site. It’s free and works on Windows, macOS, and Linux.

2. Sign Up for GitHub Copilot (15 minutes)

  1. Go to the GitHub Copilot page.
  2. Click on “Sign up for Copilot.”
  3. Choose a subscription plan:
    • Free Trial: 30 days
    • $10/month: Individual plan after the trial
    • $19/month: Team plan for businesses

3. Install the GitHub Copilot Extension (15 minutes)

  1. Open Visual Studio Code.
  2. Click on the Extensions view icon in the Activity Bar on the side of the window.
  3. Search for "GitHub Copilot" and click "Install."

4. Configure Your Settings (15 minutes)

  • Go to the settings by clicking on the gear icon in the bottom left corner.
  • Search for "Copilot" and adjust the settings to your liking, such as enabling or disabling inline suggestions.

5. Start Coding with Copilot (45 minutes)

Open a new file in your preferred programming language and start typing. Here’s what to expect:

  • Code Suggestions: As you type, Copilot will suggest code snippets. You can accept suggestions by pressing Tab.
  • Function Completion: Write a function name, and Copilot will attempt to complete the function based on the context.
  • Code Comments: Write comments to describe what you want, and Copilot will generate the corresponding code.

6. Troubleshooting Common Issues (15 minutes)

  • Suggestions Not Appearing: Ensure that you’re signed into GitHub in Visual Studio Code. Check your internet connection as Copilot requires it to fetch suggestions.
  • Not Relevant Suggestions: Sometimes, Copilot may offer irrelevant suggestions. This can happen if the context is insufficient. Try to provide clearer comments or code context.

What's Next?

After you’ve set up Copilot, consider integrating it into your daily coding routine. Spend some time exploring its capabilities and limitations. As you get accustomed to its suggestions, you'll find ways to leverage it for repetitive tasks, boilerplate code, and even as a learning tool for new programming languages.

Limitations of GitHub Copilot

While GitHub Copilot is powerful, it’s not perfect. Here’s what to keep in mind:

  • Not Always Accurate: Suggestions can be incorrect or inefficient. Always review the generated code.
  • Limited Language Support: While it supports many languages, it may not be effective for niche or less popular languages.
  • Dependency on Context: It relies heavily on context. If your code is poorly structured, the suggestions may not be helpful.

Conclusion

Getting started with GitHub Copilot is straightforward and can significantly enhance your coding workflow. In just two hours, you can set it up and start reaping the benefits. I recommend taking advantage of the free trial to see how it fits into your workflow before committing to a subscription.

What We Actually Use

In our experience, we primarily use GitHub Copilot for generating boilerplate code and completing functions. However, we always double-check the suggestions for accuracy. If you find Copilot isn't meeting your needs, consider exploring alternatives like Tabnine or Kite.

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