← Back to Course|Developer Tools
🔵
Code Editor + ExtensionsFree (editor)

VS Code + AI Extensions

Add powerful AI to the world's most popular editor - Copilot, Claude, or Codeium

VS Code is the most-used code editor in the world. With the right AI extensions, it becomes a powerful AI-assisted development environment. Unlike Cursor or Windsurf, you don't switch editors - you supercharge the one you already know. Three main AI options: GitHub Copilot, the Claude extension, and Codeium (free).

🐙
Most Popular
GitHub Copilot
$10/month
Best all-around; deep GitHub + VS Code integration
🟣
Best for Analysis
Claude for VS Code
Free (uses Claude account)
Best reasoning and long-context code tasks
🟢
Best Free
Codeium
Free forever
Best completely free option; fast completions

⚡ Install & Setup - GitHub Copilot

1
Install VS Code
Download from code.visualstudio.com. Free, runs on Mac, Windows, and Linux.
2
Install the Copilot Extension
Open VS Code → Extensions panel (Cmd+Shift+X) → search "GitHub Copilot" → Install. Also install "GitHub Copilot Chat" for the chat panel.
3
Sign In to GitHub
Click the Accounts icon (bottom-left) → Sign in with GitHub → authorize. Your GitHub account needs an active Copilot subscription ($10/month, or free for students/open-source).
4
Verify It's Working
Open any code file and start typing. Gray ghost text appears as Copilot suggestions. Press Tab to accept.

⚡ Install & Setup - Codeium (Free)

1
Install Codeium Extension
Extensions panel → search "Codeium" → Install. Codeium is free forever - no subscription needed.
2
Create Free Account
Click the Codeium icon in the status bar → Sign in → create account at codeium.com. Takes 30 seconds.
3
Start Coding
Inline completions activate immediately. Open Codeium Chat with Cmd+Shift+A for the chat panel.

🚀 Sample Usage - Copilot

Inline Completions
// Parse a CSV string and return array of objects
function parseCSV(csv: string)
// ← Tab to accept full function
Copilot Chat Slash Commands
/explain
Explain what selected code does
/fix
Fix a bug in selected code
/tests
Generate unit tests for selection
/doc
Add documentation comments
/optimize
Suggest performance improvements
@workspace
Ask questions about your whole project
Inline Edit (Copilot Edits)

Select code → Cmd+I (Mac) or Ctrl+I (Win) → type your instruction → Enter:

"Convert this callback-style function to use async/await and add proper error handling"

💡 Pro Tips

  • Write descriptive comments above a function before implementing it - Copilot uses them as a spec
  • Install both "GitHub Copilot" and "GitHub Copilot Chat" - they are separate extensions
  • Copilot is free for verified students and open-source maintainers (check github.com/education)
  • Use @workspace in chat to ask questions about your entire project, not just the open file
  • Codeium has no rate limits and no credit card - ideal for learners who don't want to pay yet

⚖️ Which Coding Tool Should I Pick?

The current tool is highlighted. There is no single winner - pick by how you like to work.

ToolTypePricingBest forModels / AI
GitHub CopilotIDE extensionFree tier; Pro ~$10/moAI in your existing editorGPT-5.5, Claude Sonnet 4.6, Gemini 3.5
CursorAI IDE (VS Code fork)Hobby free; Pro $20/moAll-round AI editor + agentGPT-5.5, Claude Opus 4.8 / Sonnet 4.6
WindsurfAI IDE (VS Code fork)Free tier; paid plansAgentic flows (Cascade)Frontier models + own
Google AntigravityAgent-first IDEFree public previewAutonomous build + browser testGemini 3.5
Claude Code (CLI)Terminal agentClaude sub or APIAgentic coding in the terminalClaude Opus 4.8 / Sonnet 4.6 / Haiku 4.5
VS Code + AI ext(this page)Editor + extensionsFree options existKeep VS Code, add AIDepends on extension

Pricing and model support change often. Verified June 2026 - confirm on each tool's official site.

🛠️ Troubleshooting & Common Pitfalls

Two completion engines fighting
Do not run Copilot and the Windsurf / Codeium plugin at once - they conflict. Disable one per workspace.
Extension will not sign in
Sign in via the account menu; if it loops, sign out everywhere and reauthorize the single extension.
No inline suggestions
Check the extension is enabled for the language you are editing, and that inline suggestions are on in VS Code settings.
Not sure which to choose
Copilot for the broadest ecosystem; the Windsurf plugin for a free, no-card option. See the comparison table above.

📚 Related Course Lessons

Go deeper on the skills this tool is for:

L38 - AI Tools LandscapeL39 - Inline Code CompletionL40 - AI Chat for Development

🔗 Official Resources

Download VS CodeFree editor (Mac, Win, Linux)VS Code AI docsVS Code's built-in AI featuresGitHub Copilot extensionInstall Copilot in VS CodeCopilot docsUsing Copilot in VS CodeWindsurf plugin (ex-Codeium)Free completions in VS Code

Links open the official sites. Pricing and features change often - always confirm there. (Verified June 2026.)

→ Full GitHub Copilot Guide→ Try Windsurf Instead→ Try Cursor Instead