Ai Coding Tools

How to Use GitHub Copilot and Turbocharge Your Coding in 2 Hours

By BTW Team3 min read

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

In short

A step-by-step tutorial on setting up GitHub Copilot to improve your productivity and boost coding efficiency within just 2 hours.

If you’ve ever felt overwhelmed by the sheer amount of code you have to write or the repetitive tasks that suck your productivity, you’re not alone. Many indie hackers and solo founders struggle with coding efficiency, especially when juggling multiple projects. Enter GitHub Copilot, an AI-powered coding assistant that can help you write code faster and smarter. In this guide, I’ll show you how to set it up and start using it effectively in just two hours.

Prerequisites

Before diving in, make sure you have the following:

  • GitHub account: You need this to access GitHub Copilot.
  • Visual Studio Code (VS Code): Copilot integrates seamlessly with this code editor.
  • GitHub Copilot subscription: Pricing is $10/month or $100/year, but you can start with a free trial.
  • Basic understanding of JavaScript or Python: This will help you get the most out of Copilot.

Step-by-Step Setup Guide

Step 1: Install Visual Studio Code (20 minutes)

  1. Download and install Visual Studio Code from the official website.
  2. Open the application and set up your workspace as needed.

Step 2: Install GitHub Copilot Extension (10 minutes)

  1. In VS Code, go to the Extensions view by clicking on the Extensions icon in the Activity Bar.
  2. Search for "GitHub Copilot" and click on "Install."
  3. After installation, you’ll need to sign in to your GitHub account to activate the extension.

Step 3: Configure Settings (15 minutes)

  1. Open the Command Palette (Cmd/Ctrl + Shift + P) and type "Preferences: Open Settings (UI)."
  2. Search for "Copilot" and adjust the settings to your preference, such as enabling inline suggestions.

Step 4: Start Coding with Copilot (30 minutes)

  1. Create a new JavaScript or Python file in VS Code.
  2. Start typing a function or a comment explaining what you want to achieve. For example:
    // Function to calculate the factorial of a number
    
  3. Observe how Copilot suggests code snippets. Use the Tab key to accept a suggestion or continue typing for more options.

Step 5: Experiment with Different Use Cases (30 minutes)

Try using Copilot for various coding tasks to see how it responds. Here are a few ideas:

  • Generate boilerplate code: Type out the structure of a new function or class.
  • Write tests: Ask Copilot to help you write unit tests for your code.
  • Code documentation: Comment your code and see how Copilot generates documentation for you.

Step 6: Troubleshooting Common Issues (15 minutes)

  • Issue: Copilot isn’t suggesting anything.

    • Solution: Ensure you’re in a supported file type (like .js or .py) and that you’re connected to the internet.
  • Issue: Suggestions aren’t relevant.

    • Solution: Provide more context. The clearer your comments, the better the suggestions.

Pricing Breakdown

| Plan | Pricing | Features | |------------------------|------------------|--------------------------------------------------| | GitHub Copilot | $10/month | AI code suggestions, inline completions | | GitHub Copilot (Yearly)| $100/year | All monthly features, one-time payment discount |

What We Actually Use

In our experience, we find GitHub Copilot invaluable for speeding up the coding process, especially for repetitive tasks. We often use it alongside tools like Postman for API testing and Figma for design handoff. However, we’ve noticed that it sometimes struggles with complex algorithms or niche frameworks.

Conclusion: Start Here

If you're looking to enhance your coding efficiency, GitHub Copilot is a solid choice. Set aside two hours to follow the steps outlined above, and you’ll be well on your way to turbocharging your coding efforts in 2026.

For those who need a little extra help or prefer a different approach, consider tools like Tabnine or Kite, which also offer AI-assisted coding features but may cater to different needs.

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