Ai Coding Tools

How to Use GitHub Copilot to Boost Your Coding Productivity in 1 Hour

By BTW Team4 min read

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

In short

A step-by-step guide on how to leverage GitHub Copilot effectively to increase your coding productivity in just one hour.

If you're like me, you often find yourself staring at a blank screen, wondering how to start coding a new feature or fix a bug. GitHub Copilot can change that. As a coding assistant powered by AI, it suggests whole lines or blocks of code as you type, helping you get past those frustrating moments. But how do you actually harness it to boost your productivity? In this guide, I'll walk you through how to set it up and use it effectively in just one hour.

Prerequisites

Before we dive in, here’s what you’ll need:

  • GitHub Account: You’ll need a GitHub account to access Copilot.
  • Visual Studio Code (VS Code): Download and install VS Code if you haven't already.
  • GitHub Copilot Subscription: As of July 2026, Copilot costs $10/month for individuals. There’s a free trial available if you want to test it first.

Step 1: Set Up GitHub Copilot

  1. Install the Extension: Open VS Code, go to the Extensions view by clicking on the Extensions icon in the Activity Bar, and search for "GitHub Copilot." Click "Install."

  2. Sign In: After installation, you’ll be prompted to sign in to your GitHub account. Follow the prompts to authenticate.

  3. Start a New Project: Create a new directory for your project and open it in VS Code. You can use mkdir my-project && cd my-project && code . in your terminal.

Step 2: Start Coding with Copilot

  1. Write a Comment: Begin by typing a comment that describes the function you want to create. For example:

    // Function to calculate the factorial of a number
    
  2. Let Copilot Suggest: After the comment, press "Enter." Copilot will automatically suggest code. You can accept it by pressing "Tab" or continue typing to refine the suggestion.

  3. Iterate Quickly: Use Copilot to generate repetitive code structures. For instance, if you need to create multiple functions that follow a similar pattern, just describe the first function in comments, and Copilot will help fill in the rest.

Step 3: Troubleshooting Common Issues

What Could Go Wrong

  • Irrelevant Suggestions: Sometimes, Copilot might suggest code that doesn’t fit your context. In these cases, tweak your comments or provide more specific prompts.

  • Syntax Errors: Always double-check the generated code. Copilot is not perfect and can make mistakes, especially with complex logic.

Solutions

  • Refine Your Prompts: If you find suggestions aren't helpful, try being more explicit in your comments. For example, instead of “function to sort an array,” try “function to sort an array of numbers in ascending order.”

  • Consult Documentation: If you encounter a syntax error, look up the relevant documentation for the programming language you’re using.

Step 4: Maximizing Copilot’s Potential

Tips for Effective Use

  • Pair Programming: Treat Copilot like a pair programmer. Use its suggestions as a starting point, but don’t be afraid to modify the code to suit your needs.

  • Use Shortcuts: Familiarize yourself with VS Code shortcuts to navigate and edit code quickly. For example, use Ctrl + Space to trigger suggestions manually.

What's Next?

Once you’ve gotten the hang of using GitHub Copilot, consider exploring these additional tools to further enhance your productivity:

| Tool | Pricing | Best For | Limitations | Our Take | |---------------------|---------------------------|------------------------------------|--------------------------------------------|-----------------------------------------| | GitHub Copilot | $10/mo, free trial | AI code suggestions | Not always accurate, requires oversight | Essential for quick coding assistance | | Tabnine | $12/mo, free tier | AI-assisted coding | Limited language support | Great for JavaScript and Python | | Kite | $0-16/mo | Autocompletion and documentation | Limited to Python and JavaScript | Useful for Python-heavy projects | | Replit | Free tier + $7/mo pro | Collaborative coding | Performance issues with large projects | Good for quick prototyping | | Codex | $0-100/mo (API usage) | Complex code generation | Requires API knowledge | Powerful for advanced use cases | | Sourcegraph | $0-20/mo | Code search and navigation | Complexity in setup | Best for large codebases | | Jupyter Notebooks | Free | Data science and analysis | Not suited for all coding environments | Great for Python data projects | | Stack Overflow | Free | Community-driven coding questions | Can be hit or miss | Always a go-to for troubleshooting | | Glitch | Free | Quick web app prototyping | Limited to web apps | Fun for quick projects | | CodeSandbox | Free tier + $9/mo pro | Frontend development | Limited backend capabilities | Excellent for React and Vue projects |

Conclusion

To get started with GitHub Copilot, follow the steps outlined above. It can significantly speed up your coding process and help you overcome creative blocks. Just remember to refine your prompts and double-check the code it generates.

If you want to delve deeper into productivity tools for coding, check out our podcast "Built This Week," where we discuss real experiences and tools we're currently using.

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