The C/C++ extension adds IntelliSense editing and debugging for C and C++ inside Visual Studio Code. You supply separate compilers and debuggers per platform.
Overview
The C/C++ extension for Visual Studio Code adds language support for C and C++, including editing with IntelliSense and debugging workflows described in Microsoft tutorials.
Because VS Code is an editor, the extension does not bundle a compiler or debugger. Users install platform tools such as MSVC, Clang, or GCC and matching debuggers, then configure IntelliSense modes that reflect supported compiler and architecture pairs.
Documented platform support lists Windows with MSVC, Clang, or GCC on x64, x86, arm64, and arm; Linux with Clang or GCC on x64, x86, arm64, and arm; and macOS with Clang or GCC on x64, x86, and arm64.
Tutorials per compiler and platform, frequently asked questions, feedback channels, and contribution guidance appear under the Microsoft Open Source Code of Conduct.
Key features
- C and C++ IntelliSense editing
- Integrated debugging support
- Multi-platform compiler matrix
- Configurable IntelliSense modes
- Tutorial links per toolchain
- FAQ and issue feedback links
- Works with external compilers
- Microsoft-maintained VS Code extension
Use cases
- Editing C++ projects in VS Code
- Configuring IntelliSense for Clang
- Debugging native code from VS Code
- Supporting mixed platform C toolchains