What VS Code Does
- IntelliSense — smart completions with type info
- Debugging — launch and debug Node, Python, Go, C++, etc.
- Git integration — inline diff, stage, commit, push
- Extensions — 60,000+ on marketplace
- Integrated terminal — shell inside editor
- Multi-cursor — Ctrl+D to add cursor to next match
- Live Share — real-time pair programming
- Remote development — SSH, containers, WSL, Codespaces
- Jupyter notebooks — built-in support
- Task runners — define tasks.json for project commands
- Workspace settings — per-project and user config
Architecture
Electron shell + Monaco editor (the web-based component also used in monaco-editor). Language features delegated to Language Servers via the Language Server Protocol (LSP, originally invented for VS Code). Extensions run in a separate Extension Host process for isolation.
Self-Hosting
The source code at microsoft/vscode is MIT-licensed, but the branded "Visual Studio Code" binary includes proprietary telemetry and the Microsoft Marketplace. Open-source builds:
- VSCodium — no telemetry, community build
- Code - OSS — the raw open-source build
- Cursor — AI-first VS Code fork
- Windsurf — another AI-first fork
Key Features
- Free and open source (core)
- Cross-platform
- Extensive marketplace
- LSP-based language features
- Integrated Git, terminal, debugger
- Remote development (SSH, containers, WSL)
- Live Share
- Profiles (per-language setups)
- Jupyter notebook support
- Settings Sync
Comparison
| Editor | Extensibility | Remote Dev | AI Focus |
|---|---|---|---|
| VS Code | Marketplace | Best | Copilot + extensions |
| Cursor | VS Code fork | Same | AI-first |
| Windsurf | VS Code fork | Same | AI-first |
| JetBrains IDEs | Plugins | Gateway | AI Assistant |
| Zed | Native | Yes | Built-in |
| Sublime Text | Python packages | Limited | Via plugins |
常见问题 FAQ
Q: VS Code 和 VS Codium 区别? A: VS Codium 是 Microsoft VS Code 源码去掉商标和遥测后的重编译。功能相同,隐私更好,但用不了 MS Marketplace(可换 Open VSX Registry)。
Q: Remote Development 有哪些? A: Remote - SSH(远程服务器)、Dev Containers(Docker 容器)、WSL(Windows 子系统)、Codespaces(托管)。编辑器本地跑,语言服务和文件在远程。
Q: 和 JetBrains 比? A: VS Code 启动快、免费、扩展多、语言通用;JetBrains 特定语言(Java/Kotlin/Go/Rust)更深入、重构更智能。
来源与致谢 Sources
- Docs: https://code.visualstudio.com/docs
- GitHub: https://github.com/microsoft/vscode
- License: MIT