Official repository for the Microsoft C/C++ extension for VS Code.
Перейти к файлу
Sean McManus c2305a2260 Switch back to CppTools1. 2024-07-08 14:56:02 -07:00
.github Revert back to glob 7 due to test failures (and update .github/actions dependencies) (#12365) 2024-06-12 10:20:04 -07:00
Build Update dependencies, glob, and IntelliSense loc strings (#12317) 2024-06-07 17:41:19 -07:00
Code Samples
Documentation
Extension Switch back to CppTools1. 2024-07-08 14:56:02 -07:00
ExtensionPack
Images
RuntimeLicenses
Themes
.gitignore
CODE_OF_CONDUCT.md Update top level documents for compliance (#12343) 2024-06-11 09:12:51 -07:00
CONTRIBUTING.md Update top level documents for compliance (#12343) 2024-06-11 09:12:51 -07:00
LICENSE.md
LanguageCCPP_color_128x.png
README.md Update top level documents for compliance (#12343) 2024-06-11 09:12:51 -07:00
SECURITY.md Update top level documents for compliance (#12343) 2024-06-11 09:12:51 -07:00
launch.md

README.md

C/C++ for Visual Studio Code

Repository  |  Issues  |  Documentation  |  Code Samples

Badge

The C/C++ extension adds language support for C/C++ to Visual Studio Code, including editing (IntelliSense) and debugging features.

Pre-requisites

C++ is a compiled language meaning your program's source code must be translated (compiled) before it can be run on your computer. VS Code is first and foremost an editor, and relies on command-line tools to do much of the development workflow. The C/C++ extension does not include a C++ compiler or debugger. You will need to install these tools or use those already installed on your computer.

  • C++ compiler pre-installed
  • C++ debugger pre-installed

Here is a list of compilers and architectures per platform officially supported by the extension. These are reflected by the available IntelliSense modes from the extension's IntelliSense configuration. Note that support for other compilers may be limited.

Platform Compilers Architectures
Windows MSVC, Clang, GCC x64, x86, arm64, arm
Linux Clang, GCC x64, x86, arm64, arm
macOS Clang, GCC x64, x86, arm64

For more information about installing the required tools or setting up the extension, please follow the tutorials below.

Overview and tutorials

C/C++ extension tutorials per compiler and platform

Questions and feedback

FAQs
Check out the FAQs before filing a question.

Provide feedback
File questions, issues, or feature requests for the extension.

Known issues
If someone has already filed an issue that encompasses your feedback, please leave a 👍 or 👎 reaction on the issue to upvote or downvote it to help us prioritize the issue.

Quick survey
Let us know what you think of the extension by taking the quick survey.

Contribution

Contributions are always welcome. Please see our contributing guide for more details.

Microsoft Open Source Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Data Collection

The software may collect information about you and your use of the software and send it to Microsoft. Microsoft may use this information to provide services and improve our products and services. You may turn off the telemetry via the same setting provided by Visual Studio Code: "telemetry.enableTelemetry". Our privacy statement is located here. You can learn more about data collection and use in the help documentation and our privacy statement. Your use of the software operates as your consent to these practices.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsofts Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-partys policies.