MCPcopy Index your code
hub / github.com/microsoft/vscode-cpptools

github.com/microsoft/vscode-cpptools @v1.33.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.33.2 ↗ · + Follow
2,549 symbols 6,382 edges 156 files 116 documented · 5% updated 1d agov1.33.2 · 2026-06-27★ 6,1211,392 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

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 * Microsoft C++ compiler (MSVC) on Windows * GCC and Mingw-w64 on Windows * GCC on Windows Subsystem for Linux (WSL) * GCC on Linux * Clang on macOS

Quick links

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 Microsoft’s 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-party’s policies.

Extension points exported contracts — how you extend this code

TrackerController (Interface)
(no doc) [18 implementers]
Extension/test/scenarios/RunWithoutDebugging/tests/runWithoutDebugging.integration.test.ts
IInteractor (Interface)
(no doc) [20 implementers]
Extension/src/SSH/commandInteractors.ts
VsCodeApi (Interface)
(no doc)
Extension/ui/settings.ts
ProcessResult (Interface)
(no doc)
Extension/test/scenarios/RunWithoutDebugging/tests/compileProgram.ts
Disposable (Interface)
(no doc) [18 implementers]
Extension/src/LanguageServer/copilotProviders.ts
TrackerState (Interface)
(no doc)
Extension/test/scenarios/RunWithoutDebugging/tests/runWithoutDebugging.integration.test.ts
BaseNode (Interface)
(no doc) [4 implementers]
Extension/src/SSH/TargetsView/common.ts
ResolveTestFlowEnvironment (Interface)
(no doc)
Extension/test/scenarios/SingleRootProject/tests/common.test.ts

Core symbols most depended-on inside this repo

push
called by 434
Extension/src/Utility/Process/streams.ts
toString
called by 211
Extension/src/types/ssh-config.d.ts
set
called by 155
Extension/src/Utility/Async/map.ts
forEach
called by 152
Extension/src/LanguageServer/clientCollection.ts
resolve
called by 136
Extension/src/Utility/Async/resolvable.ts
dispose
called by 105
Extension/src/LanguageServer/client.ts
get
called by 94
Extension/src/LanguageServer/clientCollection.ts
catch
called by 88
Extension/src/Utility/Async/lazy.ts

Shape

Method 1,383
Function 621
Class 308
Interface 207
Enum 30

Languages

TypeScript100%

Modules by API surface

Extension/src/LanguageServer/client.ts408 symbols
Extension/src/LanguageServer/settings.ts226 symbols
Extension/src/common.ts140 symbols
Extension/src/LanguageServer/extension.ts97 symbols
Extension/src/LanguageServer/configurations.ts92 symbols
Extension/src/Debugger/configurationProvider.ts60 symbols
Extension/src/SSH/commandInteractors.ts57 symbols
Extension/src/Utility/Process/streams.ts54 symbols
Extension/src/Utility/Text/scanner.ts50 symbols
Extension/src/LanguageServer/ui.ts43 symbols
Extension/src/Debugger/nativeAttach.ts43 symbols
Extension/src/LanguageServer/copilotCompletionContextProvider.ts42 symbols

Dependencies from manifests, versioned

@github/copilot-language-server1.434.0 · 1×
@octokit/rest21.1.1 · 1×
@types/glob7.2.0 · 1×
@types/mocha10.0.6 · 1×
@types/node20.14.2 · 1×
@types/node-fetch2.6.13 · 1×
@types/plist3.0.5 · 1×
@types/proxyquire1.3.31 · 1×
@types/semver7.5.8 · 1×
@types/shell-quote1.7.5 · 1×
@types/sinon21.0.0 · 1×
@types/tmp0.2.6 · 1×

For agents

$ claude mcp add vscode-cpptools \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact