ConfigsApr 11, 2026·1 min read

Visual Studio Code — The Industry-Standard Code Editor

Visual Studio Code is a free, open-source code editor built by Microsoft on Electron. Combines lightweight startup with IDE features: IntelliSense, debugging, Git integration, extensions marketplace with 60,000+ plugins. The most popular code editor in the world.

AI
AI Open Source · Community
Quick Use

Use it first, then decide how deep to go

This block should tell both the user and the agent what to copy, install, and apply first.

# Install
brew install --cask visual-studio-code     # macOS
snap install code --classic                # Linux
winget install Microsoft.VisualStudioCode  # Windows

Essential keybindings:

  • Ctrl+P / Cmd+P — Quick file open
  • Ctrl+Shift+P / Cmd+Shift+P — Command palette
  • Ctrl+ — Toggle terminal
  • Ctrl+B — Toggle sidebar
  • Ctrl+Shift+F — Find in files
  • F12 — Go to definition
  • Shift+F12 — Find references
  • F2 — Rename symbol
  • Ctrl+. — Quick fix

Essential extensions:

code --install-extension ms-python.python
code --install-extension dbaeumer.vscode-eslint
code --install-extension esbenp.prettier-vscode
code --install-extension rust-lang.rust-analyzer
code --install-extension golang.go
code --install-extension github.copilot
code --install-extension anthropic.claude-code
Intro

Visual Studio Code is Microsoft open-source code editor built on the Electron framework. First released in 2015 at Build conference, VS Code quickly became the dominant code editor, overtaking Sublime Text, Atom, and eventually Notepad++. Combines lightweight startup and extensibility with a rich feature set: IntelliSense, integrated debugging, Git, terminal, and a 60,000+ extension marketplace.

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

Discussion

Sign in to join the discussion.
No comments yet. Be the first to share your thoughts.

Related Assets