Ai Coding Tools

How to Use GitHub Copilot to Speed Up Your Coding in 2 Hours

By BTW Team4 min read

How to Use GitHub Copilot to Speed Up Your Coding in 2 Hours

If you're a solo founder or indie hacker, you know that coding can be a bottleneck. You want to ship products, but sometimes it feels like you're stuck in the weeds of syntax and structure. Enter GitHub Copilot—a tool that claims to help you code faster by suggesting lines of code and entire functions based on context. But does it really deliver? In this guide, I'll show you how to set it up and use it effectively in just 2 hours.

Prerequisites

Before diving in, make sure you have the following:

  • A GitHub account (Free)
  • Visual Studio Code installed (Free)
  • Basic understanding of coding concepts and syntax
  • A project to work on (could be a side project or a new idea)

Setting Up GitHub Copilot (30 Minutes)

  1. Install Visual Studio Code: If you haven't already, download and install Visual Studio Code.
  2. Add GitHub Copilot Extension: Open VS Code, go to the Extensions Marketplace, and search for "GitHub Copilot." Click "Install."
  3. Authenticate: Once installed, you'll need to authenticate using your GitHub account. Follow the prompts to log in.
  4. Configure Settings: Go to Settings in VS Code and search for "Copilot." Here, you can customize how suggestions are shown (inline, in a separate window, etc.).

Expected Output

After setting up, you should see Copilot actively suggesting code as you type, which can include anything from basic syntax to complex functions.

How to Use GitHub Copilot in Your Coding Workflow (1 Hour)

1. Start Typing Your Code

As you begin coding, GitHub Copilot will provide suggestions based on your input. It works best when you write comments describing what you want to do.

  • Example: Type // Function to calculate the sum of an array and see how Copilot suggests the function.

2. Accepting and Modifying Suggestions

When a suggestion pops up, you can either accept it by pressing Tab or modify it.

  • Tip: Don't just accept suggestions blindly; make sure they fit your logic and requirements. This is about speeding up your workflow, not replacing your thinking.

3. Use Comments Effectively

Be descriptive in your comments. The more context you provide, the better Copilot's suggestions will be.

  • Example: Instead of just saying // Create a user, try // Create a user object with name, email, and password fields.

4. Explore Various Languages and Frameworks

Copilot supports multiple languages. Whether you're coding in JavaScript, Python, or Go, it can help speed things up.

  • Caveat: Some languages or frameworks may have more robust support than others. For example, it works exceptionally well with JavaScript and TypeScript but may struggle with niche languages.

5. Troubleshooting Suggestions

If you find Copilot isn't suggesting relevant code, here’s what you can do:

  • Rephrase Your Comment: Sometimes, a simple rewording can yield better results.
  • Check Your Internet Connection: Copilot requires a stable connection to fetch suggestions.

6. Review and Test Your Code

After accepting suggestions, always review and test your code. While Copilot can be incredibly helpful, it's not infallible.

  • Our Take: In our experience, we've found that Copilot often provides a great starting point, but you should always validate its output.

Pricing Breakdown

  • GitHub Copilot: $10/month or $100/year, with a free trial available for new users.
  • Visual Studio Code: Free

| Tool | Pricing | Best For | Limitations | Our Verdict | |-----------------------|-----------------------|-------------------------------------|------------------------------------------------|------------------------------| | GitHub Copilot | $10/mo or $100/yr | Speeding up coding in various languages | May not understand niche frameworks well | Great for quick suggestions | | Visual Studio Code | Free | General coding | Lacks built-in GitHub features | Essential for coding |

What We Actually Use

In our development workflow, we use GitHub Copilot alongside Visual Studio Code. It helps us iterate quickly on features, especially when we're in the early stages of product development. However, we always review the code it suggests to ensure it meets our standards.

Conclusion: Start Here

If you're looking to speed up your coding and reduce the time spent on boilerplate code, GitHub Copilot is worth trying out. Set up your environment as outlined above, and dedicate 2 hours to get familiar with its features. It won't replace your coding skills, but it can certainly enhance your productivity.

Follow Our Building Journey

Weekly podcast episodes on tools we're testing, products we're shipping, and lessons from building in public.

Subscribe

Never miss an episode

Subscribe to Built This Week for weekly insights on AI tools, product building, and startup lessons from Ryz Labs.

Subscribe
Ai Coding Tools

10 AI Coding Tools That Will Drastically Reduce Your Debugging Time

10 AI Coding Tools That Will Drastically Reduce Your Debugging Time As a developer, whether you're just starting out or have years of experience, debugging can feel like a neverend

Oct 16, 20265 min read
Ai Coding Tools

10 Common Mistakes When Integrating AI Coding Tools into Your Workflow

10 Common Mistakes When Integrating AI Coding Tools into Your Workflow As developers, we’re always on the lookout for ways to streamline our workflow and boost productivity. Enter

Oct 14, 20264 min read
Ai Coding Tools

5 Myths About AI Coding Tools That Could Hurt Your Development Process

5 Myths About AI Coding Tools That Could Hurt Your Development Process As a solo founder or indie hacker, you might be lured by the promises of AI coding tools that claim to simpli

Oct 13, 20264 min read
Ai Coding Tools

5 Common Mistakes Developers Make When Using AI Coding Tools in 2026

5 Common Mistakes Developers Make When Using AI Coding Tools in 2026 As AI coding tools have become an integral part of a developer's toolkit in 2026, many are still stumbling over

Oct 12, 20264 min read
Ai Coding Tools

5 Myths About AI Coding Tools: What Every Developer Should Know in 2026

5 Myths About AI Coding Tools: What Every Developer Should Know in 2026 As we dive into 2026, the landscape of AI coding tools has evolved significantly, yet many developers still

Oct 11, 20263 min read
Ai Coding Tools

Why AI Coding Assistants Are Overrated for Beginners in 2026

Why AI Coding Assistants Are Overrated for Beginners in 2026 As a solo founder or indie hacker, it’s tempting to think that AI coding assistants are the silver bullet to jumpstart

Oct 10, 20263 min read