C/C++ extension from Anysphere conflicts with itself

Version: 0.51.2
VSCode Version: 1.96.2
OS: Darwin arm64 24.5.0

I installed C/C++ extension from Anysphere, and it installs clangd, CodeLLDB and CMake Tools automatically.

However, clangd keep warning about “You have both the Microsoft C++ (cpptools) extension and clangd extension enabled. The Microsoft IntelliSense features conflict with clangd’s code completion, diagnostics etc.” But I have NO Microsoft C++ extension on my Mac.

Also, all features that C/C++ IntelliSense provides, including “Go to definition”, “Show call hierarchy”, etc. are NOT working properly.

What is wrong with Cursor?

same, hope solve it soon

Hi all – thank you for sharing this issue. We will fix this in the next release for the Anysphere C++ extension. In the meantime, does it work if you click “Never show this warning”?

1 Like

YES, but the other button “Disable IntelliSense” seems not working at all. Anyway, thank you for your reply. I’ll go back to vscode C/C++, and hope Anysphere C/C++ will be a better one!

Yes, we can use vscode C/C++ again!

Nope, not now again…
ms-vscode.cpptools is removed from extensions library again. and the intellisense is broken again with both tools… Any more updates?

Hi @Jingxian_■■■■, unfortunately that extension isn’t available in the extension marketplace. The Anysphere C/C++ extension relies on ClangD for the language server, which needs to be configured via a compile_commands.json (the build tool, such as CMake, can generate this file). Please see Intellisense disabled in new C++ extension for more on configuring ClangD.