C/C++ for Visual Studio Code
This preview release of the C/C++ extension adds language support for C/C++ to Visual Studio Code, including features such as IntelliSense and debugging.
Overview and getting started
- C/C++ extension overview
- Get Started with C++ and Windows Subsystem for Linux (WSL)
- Get Started with C++ and Mingw-w64
- Get Started with C++ and Clang/LLVM on macOS
- Get Started with C++ and Microsoft C++ compiler (MSVC)
- Editing features (IntelliSense)
- IntelliSense configuration
- Enhanced colorization
- Debug configuration
- Enable logging for IntelliSense or debugging
Questions and feedback
Check out the FAQs before filing a question.
File questions, issues, or feature requests for the extension.
If someone has already filed an issue that encompasses your feedback, please leave a
Let us know what you think of the extension by taking the quick survey.
The extension has platform-specific binary dependencies, therefore installation via the Marketplace requires an Internet connection in order to download additional dependencies. If you are working on a computer that does not have access to the Internet or is behind a strict firewall, you may need to use our platform-specific packages and install them by running VS Code's
"Install from VSIX..." command. These "offline' packages are available at: https://github.com/Microsoft/vscode-cpptools/releases.
||Windows 64-bit & 32-bit|
Contributions are always welcome. Please see our contributing guide for more details.
Microsoft Open Source Code of Conduct
Data and telemetry
This extension collects usage data and sends it to Microsoft to help improve our products and services. Collection of telemetry is controlled via the same setting provided by Visual Studio Code:
"telemetry.enableTelemetry". Read our privacy statement to learn more.