C/c++ extend bug

when the c/c++ is updadte today with C/C++ for Cursor, I found all the thing wrong, include file cannot be found when with other dir. Even if I make the c_cpp_properties.json with correct dir. And the cpptools work well all the time. Please fix this bug. I cannot work with these situation.

1 Like

Hi @fong, could you try reinstalling the VSCode C++ extension (ms-vscode.cpptools), and disable or uninstall the Anysphere extension (anysphere.cpptools). Attaching a screenshot for the one you’ll want:

The Anysphere extension depends on ClangD for LSP support, which requires a compile_commands.json rather than a c_cpp_properties.json. The VSCode extension will read the c_cpp_properties.json for LSP support.

thanks @ravirahman , when I switch to VSCode C++ extension, it work again.