Welcome to the GitHub Copilot (VS Code) integration guide. This guide will help you connect ByteRover with GitHub Copilot in Visual Studio Code, giving Copilot persistent memory of your coding patterns and solutions.

What You’ll Need

  • Visual Studio Code installed
  • GitHub Copilot extension active in VS Code
  • A ByteRover account (free is fine)

Getting Started

1. Start the Connection

Go to your ByteRover dashboard and:
  1. Find the “Connect your agent” section
  2. Click on GitHub Copilot (VS Code) from the list
  3. Hit the “Connect with GitHub Copilot (VS Code)” button

2. Install ByteRover Extension

You’ll be directed to install the ByteRover extension for VS Code:
  • Option A: Click the direct install link to open VS Code Extension Marketplace
  • Option B: Search for “ByteRover” in VS Code Extensions panel and install

3. Configure the Extension

After installation:
  1. Open VS Code settings (Cmd/Ctrl + ,)
  2. Search for “ByteRover”
  3. Enter your API key from the ByteRover dashboard
  4. Enable ByteRover integration with GitHub Copilot

Test the Integration

With GitHub Copilot active, try asking it to store a pattern:
Store this debounce utility to ByteRover:

function debounce(func, wait, immediate) {
  let timeout;
  return function executedFunction(...args) {
    const later = () => {
      timeout = null;
      if (!immediate) func(...args);
    };
    const callNow = immediate && !timeout;
    clearTimeout(timeout);
    timeout = setTimeout(later, wait);
    if (callNow) func(...args);
  };
}
GitHub Copilot should confirm the pattern was stored to ByteRover.

Benefits

Troubleshooting

Best Practices

What’s Next?

Continue using GitHub Copilot in VS Code, now enhanced with ByteRover’s persistent memory. Store useful patterns and solutions as you code. Copilot will become increasingly personalized and effective at understanding your development style.
Questions? Join our Discord community where GitHub Copilot users share tips and help each other.