Visual Studio Code (VS Code)¶
What it is¶
Visual Studio Code is a lightweight but powerful source code editor which runs on your desktop and is available for Windows, macOS and Linux. It comes with built-in support for JavaScript, TypeScript and Node.js and has a rich ecosystem of extensions for other languages and runtimes.
What problem it solves¶
It provides a highly extensible "middle ground" between a simple text editor and a heavy Integrated Development Environment (IDE). Its vast extension ecosystem makes it the primary platform for AI-powered development tools, allowing developers to mix and match different AI assistants and productivity tools. By June 2026, it serves as the reference implementation for the Model Context Protocol (MCP 3.0) Task Protocol, enabling seamless agentic orchestration between the editor and external tools.
Where it fits in the stack¶
Development & Ops / Editor. It serves as the primary interface for coding and serves as the "host" for various AI extensions like GitHub Copilot, Continue, and Codeium.
Typical use cases¶
- General-Purpose Coding: Supporting almost any language via extensions.
- AI-Enhanced Development: Running multiple AI assistants simultaneously.
- Remote Development: Connecting to remote servers, containers, or WSL via the Remote Development extension pack.
- Cloud-Native Dev: Integrating with Kubernetes, Docker, and various cloud providers (AWS, Azure, GCP).
Strengths¶
- Extensibility: Unmatched library of plugins and themes.
- Performance: Faster than traditional IDEs while being more capable than basic editors.
- Remote Capabilities: Best-in-class support for remote development.
- Ecosystem: Most AI tools target VS Code as their first integration platform.
Limitations¶
- Resource Intensity: Can consume significant memory with many active extensions.
- Configuration Overhead: Complex setups (especially with multiple AI tools) can require significant
settings.jsontweaking. - Built-in AI: Unlike Cursor or Zed, AI features are secondary additions via extensions rather than natively integrated.
When to use it¶
- When you need a versatile, battle-tested editor with the widest possible support for languages and tools.
- When you want to experiment with multiple different AI assistants (e.g., using Aider in the terminal and Copilot in the editor).
- When performing remote development on servers or in Docker containers.
When not to use it¶
- When you want an editor that is "AI-native" where the AI has deep access to the editor's internals (consider Cursor).
- When you need maximum startup speed and minimal memory footprint (consider Zed).
Getting started¶
Installation¶
Download and install for your platform from the official website.
Key Extensions for AI (June 2026)¶
- GitHub Copilot: The standard AI completion engine (now with Claude 4.8 support).
- Continue: Open-source autopilot that allows using any LLM (optimized for local Ollama).
- Codeium: Fast, free (for individuals) AI autocomplete and chat.
- MCP Extension: Native support for Model Context Protocol servers.
CLI examples¶
CLI Usage¶
VS Code provides a powerful CLI (code) for managing the editor and extensions.
# Open current directory in VS Code
code .
# Install an extension from the terminal
code --install-extension github.copilot
# Open a diff between two files
code --diff file1.txt file2.txt
API examples¶
Optimizing settings.json for AI Performance¶
To ensure AI extensions don't interfere with standard IDE features or each other, use specific configuration patterns.
{
"editor.inlineSuggest.enabled": true,
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll": "explicit"
},
"continue.models": [
{
"title": "Claude 4.8 Opus",
"provider": "anthropic",
"model": "claude-4-8-opus-20260528",
"apiKey": "${env:ANTHROPIC_API_KEY}"
}
]
}
Related tools / concepts¶
- Windsurf: AI-powered IDE from Codeium.
- Zed: A high-performance, Rust-based alternative.
- Cursor: A fork of VS Code with deep AI integration.
- Aider: Terminal-based AI coding assistant.
- Claude Code: Anthropic's CLI-based coding tool.
- Codeium: A popular extension for VS Code.
- Tabnine: A privacy-focused extension for VS Code.
- GitHub Copilot: The flagship AI extension for VS Code.
- Model Context Protocol: Standard for tool integration in VS Code.
Sources / references¶
Contribution Metadata¶
- Last reviewed: 2026-06-28
- Confidence: high