← 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 the Windsurf plugin

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
Windsurf plugin (ex-Codeium)
Free tier
Best no-card option; unlimited tab 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 - Windsurf plugin (Free)

1
Install the Windsurf plugin
Extensions panel → search "Windsurf" (the extension ID is still Codeium.codeium) → Install. The free tier needs no subscription.
2
Create Free Account
Click the Windsurf icon in the status bar → Sign in → create a free Cognition (Devin) account. Takes 30 seconds.
3
Start Coding
Inline completions activate immediately. Open the chat panel from the status-bar icon.

🚀 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
  • The Windsurf plugin's free tier has unlimited completions and no credit card - ideal for learners who don't want to pay yet (agent use is quota-limited)

⚖️ Which Coding Tool Should I Pick?

The current tool is highlighted. There is no single winner - pick by how you like to work. Models and pricing as of September 7, 2026.

ToolTypePricingBest forModels / AI
GitHub CopilotIDE extensionFree tier; Pro $10/moAI in your existing editorGPT-5.6, Claude Sonnet 5, Gemini 3.8 Flash
CursorAI IDE (VS Code fork)Hobby free; Pro $20/moAll-round AI editor + agentGPT-5.6, Claude Opus 5 / Sonnet 5
Devin Desktop (ex-Windsurf)AI IDE (VS Code fork)Free tier; Pro $20/moLocal + cloud agents in one placeSWE-1.6 (own) + Claude / GPT / Gemini
Google AntigravityAgent-first IDEFree tier; Google AI Pro $19.99/moAutonomous build + browser testGemini 3.1 Pro / Gemini 3.8 Flash (agent-first)
Claude Code (CLI)Terminal agentClaude Pro/Max or APIAgentic coding in the terminalClaude Opus 5 / Sonnet 5 / 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 Landscape →L39 - Inline Code Completion →L40 - AI Chat for Development →

🔗 Official Resources

Download VS Code ↗Free editor (Mac, Win, Linux)VS Code AI docs ↗VS Code's built-in AI featuresGitHub Copilot extension ↗Install Copilot in VS CodeCopilot docs ↗Using 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