Ai Coding Tools

How to Use GitHub Copilot to Boost Coding Productivity in 2 Hours

By BTW Team4 min read

How to Use GitHub Copilot to Boost Coding Productivity in 2 Hours

If you’re a solo founder or indie hacker, you know that time is your most precious resource. Spending hours debugging or writing boilerplate code can feel like a huge drain on your productivity. This is where GitHub Copilot comes in. Released in 2021 and continually updated, it leverages AI to assist in coding, but many still wonder: is it worth the investment? In this guide, I’ll show you how to set up and effectively use GitHub Copilot to boost your coding productivity in just 2 hours.

Prerequisites: What You Need to Get Started

Before diving into GitHub Copilot, ensure you have the following in place:

  • GitHub Account: Free to sign up.
  • Visual Studio Code (VS Code): Download and install it if you haven’t already.
  • GitHub Copilot Subscription: As of April 2026, the pricing is $10/month for individuals or $19/month for businesses.
  • Basic Knowledge of Coding: Familiarity with at least one programming language (JavaScript, Python, etc.).

Step 1: Installing GitHub Copilot

  1. Open Visual Studio Code: Launch the application.
  2. Install the GitHub Copilot Extension:
    • Go to the Extensions view by clicking on the Extensions icon in the Activity Bar on the side.
    • Search for "GitHub Copilot" and click "Install."
  3. Sign In: After installation, you’ll need to sign in with your GitHub account to activate Copilot.

Expected Output: Once installed, you should see GitHub Copilot in action, suggesting code snippets as you type.

Step 2: Configuring GitHub Copilot for Maximum Efficiency

  1. Enable Suggestions: Ensure that suggestions are enabled in the settings. Go to Preferences > Settings and search for "Copilot."
  2. Customize Shortcuts: By default, you can accept suggestions with Tab, but you can change these shortcuts in the keybindings settings if you prefer different keys.
  3. Adjust Contextual Settings: You can control how much context Copilot uses for its suggestions. A broader context usually yields better results.

Expected Output: Copilot should now provide more accurate suggestions based on your coding context.

Step 3: Using GitHub Copilot Effectively

  1. Start Coding: Begin writing your function or class. For example, if you start typing function fetchData(), Copilot will likely suggest the entire function body.
  2. Review Suggestions: Don’t just accept every suggestion blindly. Review the code for accuracy and security. Sometimes, it might suggest outdated or insecure practices.
  3. Iterate: If you don’t like a suggestion, keep typing. The more context you give it, the better its suggestions will be.

Expected Output: You should see a noticeable reduction in the time it takes to write boilerplate code and functions.

Troubleshooting Common Issues

  • Suggestions Not Appearing: Ensure that you are connected to the internet and that the extension is enabled.
  • Inaccurate Suggestions: Sometimes Copilot gets it wrong. If you find it consistently suggesting irrelevant code, try to provide more context in your comments or code.
  • Performance Issues: If VS Code is lagging, check your system resources. Copilot can be resource-intensive.

What’s Next: Maximizing Your Productivity

After you’ve set up GitHub Copilot, consider integrating it into your daily workflow:

  • Pair with Other Tools: Use Copilot alongside tools like ESLint for JavaScript or Prettier for code formatting to ensure quality.
  • Explore Other AI Tools: If you find Copilot helpful, explore other AI coding assistants like Tabnine or Kite for additional support.
  • Join Communities: Engage with other developers using GitHub Copilot on forums or social media to share tips and tricks.

Conclusion: Start Here to Boost Your Coding Productivity

In just 2 hours, you can set up GitHub Copilot and start leveraging its capabilities to significantly enhance your coding productivity. It’s not a magic bullet, but when used correctly, it can save you valuable time and help you focus on building your project instead of getting bogged down in code.

If you’re serious about improving your coding efficiency, don’t hesitate—set up GitHub Copilot today.

What We Actually Use

  • GitHub Copilot: For code suggestions and boilerplate generation.
  • Visual Studio Code: Our go-to IDE, compatible with Copilot.
  • ESLint: For maintaining code quality alongside Copilot’s suggestions.

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

How to Build an AI-Powered Web App in 2 Hours Using Bolt.new

How to Build an AIPowered Web App in 2 Hours Using Bolt.new If you're an indie hacker or a solo founder, the thought of building an AIpowered web app might feel overwhelming. You m

Apr 17, 20264 min read
Ai Coding Tools

Is GitHub Copilot Actually Useful? A Deep Dive Comparison

Is GitHub Copilot Actually Useful? A Deep Dive Comparison As a solo founder or indie hacker, you're likely juggling multiple roles—from coding to marketing to customer support. So,

Apr 17, 20264 min read
Ai Coding Tools

Why GitHub Copilot is Overrated and 3 Better Alternatives

Why GitHub Copilot is Overrated and 3 Better Alternatives If you’re a coder, you’ve probably heard the hype about GitHub Copilot. The promise of AIassisted coding sounds enticing,

Apr 17, 20263 min read
Ai Coding Tools

How to Increase Coding Speed by 50% with AI Tools in Just 1 Week

How to Increase Coding Speed by 50% with AI Tools in Just 1 Week If you’re a solo founder or indie hacker, you know that coding can often feel like an uphill battle—especially when

Apr 17, 20265 min read
Ai Coding Tools

How to Automate Your Workflow Using AI Coding Tools in 1 Hour

How to Automate Your Workflow Using AI Coding Tools in 2026 If you're like many indie hackers and solo founders, you're constantly juggling tasks and trying to maximize your produc

Apr 17, 20264 min read
Ai Coding Tools

Why GitHub Copilot is Overrated: A Contrarian's View

Why GitHub Copilot is Overrated: A Contrarian's View In 2026, GitHub Copilot still gets a lot of hype, but let’s be real: it’s overrated. As indie hackers and solo founders, we nee

Apr 17, 20264 min read