Set Up Roo Code With GitHub Copilot
Prerequisites
- Visual Studio Code (latest version)
- GitHub account with Copilot subscription (Pro or Enterprise)
- Basic familiarity with VS Code extensions
Step 1: Install Required Extensions
First, let's install the required extensions in VS Code:
- Open VS Code
- Navigate to Extensions (Ctrl+Shift+X)
- Search for and install:
- GitHub Copilot
- Roo Code
Step 2: Configure GitHub Copilot
- Sign in to your GitHub account in VS Code
- Authenticate GitHub Copilot when prompted
- Verify Copilot is working by testing basic code completion
Step 3: Configure Roo Code to Use GitHub Copilot
- Open VS Code settings (File > Preferences > Settings or Ctrl+,)
- Search for "Roo Code configuration"
- Create or edit your Roo Code configuration file:
{
"experimentalFeatures": {
"enableGitHubCopilotConnection": true
},
"providers": {
"githubCopilot": {
"models": {
"claude": {
"modelId": "claude-3-7-sonnet-20250219",
"priority": 1
}
}
}
}
}
Step 4: Verify Connection
- Open the Roo Code panel in VS Code
- Check connection status in the panel
- If you see "Connected to GitHub Copilot", your setup is successful
Step 5: Optional Model Configuration
For organizations that want to specify which models are available:
- In your GitHub organization settings, navigate to Copilot settings
- Under "Model preferences", specify allowed models
- Configure rate limits as needed for your team
Rate Limit Issues
If you encounter "rate limit exceeded" errors:
- Check your current usage in the Copilot dashboard
- Consider implementing a token rotation system
- Add a small delay between consecutive requests
Connection Problems
If Roo Code fails to connect to GitHub Copilot:
- Verify your GitHub Copilot subscription is active
- Check VSCode is updated to the latest version
- Ensure all authentication tokens are valid
Enterprise Compliance Benefits
This setup offers several advantages for enterprise users:
- Security: All AI requests go through GitHub Copilot's secure channels
- Compliance: Maintains organizational policies configured in GitHub Copilot
- Audit Trail: Keeps all AI interactions within enterprise-approved systems
- Cost Management: Eliminates need for multiple AI provider subscriptions
Command Line Configuration
For users who prefer command line configuration:
# Install required extensions
code --install-extension GitHub.copilot
code --install-extension rooveterinary.roo-code
# Configure Roo Code to use GitHub Copilot
mkdir -p ~/.config/roocode
echo '{
"experimentalFeatures": {
"enableGitHubCopilotConnection": true
},
"providers": {
"githubCopilot": {
"models": {
"claude": {
"modelId": "claude-3-7-sonnet-20250219",
"priority": 1
}
}
}
}
}' > ~/.config/roocode/settings.json
Remember to check for updates regularly, as both Roo Code and GitHub Copilot are actively developed with new features being added frequently.
Related Articles
- Cline and Roo Code: Quick Start GuideshippedPractical ApplicationsMar 21, 2025Cline and Roo Code: Quick Start GuideGet started with Cline and Roo Code AI coding agents in VS Code, covering installation, features, and optimization techniques.
- Supercharging Code Discovery: My Journey with Roo Code's Free Codebase IndexingshippedPractical ApplicationsJul 16, 2025Roo Code Codebase Indexing: Free Semantic Code Search with Qdrant and GeminiSet up professional-grade semantic code search using Roo Code's codebase indexing with completely free tools - Qdrant Cloud and Google Gemini.
- Deployment Dilemma: When to Use Vercel, Render, or Digital Ocean for React/Python AppsshippedPractical ApplicationsMar 24, 2025Deployment Dilemma: When to Use Vercel, Render, or Digital Ocean for React/Python AppsPractical guide to choosing the right deployment platform for React/Python applications across Vercel, Render, and Digital Ocean.
About the Author: Justin Johnson builds AI systems and writes about practical AI development.
justinhjohnson.com | Twitter | LinkedIn | Run Data Run | Subscribe
Follow the lab
Get the next experiment
Enjoyed the breakdown on Set Up Roo Code With GitHub Copilot? New entries land roughly weekly. No digest, no roundup. Just the next build log, when it ships.
Related experiments
Apparatus
513 words · 3 min read
- roo-code
- github-copilot
- setup-guide
- ai-coding
- vscode