Documentation for Visual Studio Code


本站和网页 https://code.visualstudio.com/docs/ 的作者无关,不对其内容负责。快照谨为网络故障时之索引,不代表被搜索网站的即时页面。

Documentation for Visual Studio Code
Skip to content
Visual Studio Code
Docs
Updates
Blog
API
Extensions
FAQ
Learn
Search
Download
Version 1.74 is now available! Read about the new features and fixes from November.
Dismiss this update
Overview
Setup
Overview
Linux
macOS
Windows
Raspberry Pi
Network
Additional Components
Enterprise
Uninstall
Get Started
Intro Videos
Tips and Tricks
User Interface
Themes
Settings
Key Bindings
Display Language
Telemetry
User Guide
Basic Editing
Extension Marketplace
IntelliSense
Code Navigation
Refactoring
Debugging
VS Code for the Web
Tasks
Settings Sync
Snippets
Emmet
Command Line Interface
Workspace Trust
Multi-root Workspaces
Accessibility
Source Control
Overview
Collaborate on GitHub
FAQ
Terminal
Terminal Basics
Terminal Profiles
Shell Integration
Appearance
Advanced
Languages
Overview
JavaScript
JSON
HTML
CSS, SCSS and Less
TypeScript
Markdown
PowerShell
C++
Java
PHP
Python
Julia
Rust
Go
T-SQL
C#
.NET
Node.js / JavaScript
Working with JavaScript
Node.js Tutorial
Node.js Debugging
Deploy Node.js Apps
Browser Debugging
Angular Tutorial
React Tutorial
Vue Tutorial
Ember Tutorial
Debugging Recipes
Performance Profiling
Extensions
TypeScript
Tutorial
Compiling
Editing
Refactoring
Debugging
Python
Tutorial
Editing Code
Linting
Debugging
Environments
Testing
Data Science
Python Interactive
Django Tutorial
Flask Tutorial
Create containers
Deploy Python Apps
Python in the Web
Settings Reference
Java
Getting Started
Navigate and Edit
Refactoring
Formatting and Linting
Project Management
Build Tools
Run and Debug
Testing
Spring Boot
Application Servers
Deploy Java Apps
GUI Applications
Extensions
FAQ
C++
Intro Videos
GCC on Linux
GCC on Windows
GCC on Windows Subsystem for Linux
Clang on macOS
Microsoft C++ on Windows
Build with CMake
CMake Tools on Linux
Editing
Debugging
Configure debugging
Settings
Configure IntelliSense for cross-compiling
FAQ
Docker
Overview
Node.js
Python
ASP.NET Core
Debug
Docker Compose
Registries
Deploy to Azure
Choose a dev environment
Customize
Develop with Kubernetes
Tips and Tricks
Data Science
Overview
Jupyter Notebooks
Data Science Tutorial
Python Interactive
PyTorch Support
Azure Machine Learning
Azure
Extensions
Deployment
Remote Debugging for Node.js
Docker
MongoDB
Kubernetes
Azure Kubernetes Service
Remote
Overview
SSH
Dev Containers
Windows Subsystem for Linux
GitHub Codespaces
VS Code Server
Tunnels
SSH Tutorial
WSL Tutorial
Tips and Tricks
FAQ
Dev Containers
Overview
Tutorial
Attach to Container
Create a Dev Container
Advanced Containers
devcontainer.json
Dev Container CLI
Tips and Tricks
FAQ
Topics
Overview
Overview
Linux
macOS
Windows
Raspberry Pi
Network
Additional Components
Enterprise
Uninstall
Intro Videos
Tips and Tricks
User Interface
Themes
Settings
Key Bindings
Display Language
Telemetry
Basic Editing
Extension Marketplace
IntelliSense
Code Navigation
Refactoring
Debugging
VS Code for the Web
Tasks
Settings Sync
Snippets
Emmet
Command Line Interface
Workspace Trust
Multi-root Workspaces
Accessibility
Overview
Collaborate on GitHub
FAQ
Terminal Basics
Terminal Profiles
Shell Integration
Appearance
Advanced
Overview
JavaScript
JSON
HTML
CSS, SCSS and Less
TypeScript
Markdown
PowerShell
C++
Java
PHP
Python
Julia
Rust
Go
T-SQL
C#
.NET
Working with JavaScript
Node.js Tutorial
Node.js Debugging
Deploy Node.js Apps
Browser Debugging
Angular Tutorial
React Tutorial
Vue Tutorial
Ember Tutorial
Debugging Recipes
Performance Profiling
Extensions
Tutorial
Compiling
Editing
Refactoring
Debugging
Tutorial
Editing Code
Linting
Debugging
Environments
Testing
Data Science
Python Interactive
Django Tutorial
Flask Tutorial
Create containers
Deploy Python Apps
Python in the Web
Settings Reference
Getting Started
Navigate and Edit
Refactoring
Formatting and Linting
Project Management
Build Tools
Run and Debug
Testing
Spring Boot
Application Servers
Deploy Java Apps
GUI Applications
Extensions
FAQ
Intro Videos
GCC on Linux
GCC on Windows
GCC on Windows Subsystem for Linux
Clang on macOS
Microsoft C++ on Windows
Build with CMake
CMake Tools on Linux
Editing
Debugging
Configure debugging
Settings
Configure IntelliSense for cross-compiling
FAQ
Overview
Node.js
Python
ASP.NET Core
Debug
Docker Compose
Registries
Deploy to Azure
Choose a dev environment
Customize
Develop with Kubernetes
Tips and Tricks
Overview
Jupyter Notebooks
Data Science Tutorial
Python Interactive
PyTorch Support
Azure Machine Learning
Extensions
Deployment
Remote Debugging for Node.js
Docker
MongoDB
Kubernetes
Azure Kubernetes Service
Overview
SSH
Dev Containers
Windows Subsystem for Linux
GitHub Codespaces
VS Code Server
Tunnels
SSH Tutorial
WSL Tutorial
Tips and Tricks
FAQ
Overview
Tutorial
Attach to Container
Create a Dev Container
Advanced Containers
devcontainer.json
Dev Container CLI
Tips and Tricks
FAQ
Thanks for downloading VS Code!
Download not starting? Try this direct download link.
Want a head start? Watch this 5min overview.
Continue with Customize VS Code or browse all intro videos.
Please take a few seconds and help us improve ... click to take survey.
Getting Started
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 (such as C++, C#, Java, Python, PHP, Go, .NET). Begin your journey with VS Code with these introductory videos.
Visual Studio Code in Action
Intelligent Code Completion
Code smarter with IntelliSense - completions for variables, methods, and imported modules.
Streamlined Debugging
Print debugging is a thing of the past. Debug in VS Code with your terminal tools.
Fast, Powerful Editing
Linting, multi-cursor editing, parameter hints, and other powerful editing features.
Code Navigation and Refactoring
Browse your source code quickly using peek and navigate to definition.
In-Product Source Control
Speed up your release cycle with SCM support inside your editor, including rich Git integration.
Top Extensions
Enable additional languages, themes, debuggers, commands, and more. VS Code's growing community shares their
secret sauce to improve your workflow.
See more in the Marketplace
First Steps
To get the most out of Visual Studio Code, start by reviewing a few introductory topics:
Intro Videos - Begin your journey with VS Code through these introductory videos.
Setup - Install VS Code for your platform and configure the tool set for your development needs.
User Interface - Introduction to the basic UI, commands, and features of the VS Code editor.
Settings - Customize VS Code for how you like to work.
Languages - Learn about VS Code's support for your favorite programming languages.
Node.js - This tutorial gets you quickly running and debugging a Node.js web app.
Tips and Tricks - Jump right in with Tips and Tricks to become a VS Code power user.
Azure - VS Code is great for deploying your web applications to the cloud.
Extension API - Learn how to write a VS Code extension.
Why VS Code? - Read about the design philosophy and architecture of VS Code.
Keyboard Shortcuts
Increase your productivity with VS Code's keyboard shortcuts.
Keyboard Shortcut Reference Sheet - Learn the commonly used keyboard shortcuts.
Keymap Extensions - Change VS Code's keyboard shortcuts to match another editor.
Customize Keyboard Shortcuts - Modify the default keyboard shortcuts.
Downloads
Download VS Code - Quickly find the appropriate install for your platform (Windows, macOS and Linux)
Privacy
By default, VS Code auto-updates to new versions, and collects usage data and crash report information. You
may opt out of these defaults by disabling them as instructed below:
How do I disable auto update?
How do I disable crash reporting?
How do I disable usage reporting?
Getting Started
VS Code in Action
Top Extensions
First Steps
Keyboard Shortcuts
Downloads
Privacy
Hello from Seattle.
Follow @code
Support
Privacy
Manage Cookies
Terms of Use
License
2022 Microsoft