microsoft / vscode-cpptools

Official repository for the Microsoft C/C++ extension for VS Code.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Intellisense on Mac stopped working.

lucianthorr opened this issue · comments

Environment

  • OS and Version: Ventura 13.5
  • VS Code Version: 1.89.1
  • C/C++ Extension Version: v1.20.5
  • If using SSH remote, specify OS of remote machine: No SSH

Bug Summary and Steps to Reproduce

Bug Summary:
Using the C/C++ Extension along with the CMake Extension, my intellisense was working for weeks. Something has changed in the last few days (since May 31 2024), where the intellisense cannot resolve standard libraries such as thread, random, chrono.

Configuration and Logs

"cStandard": "c11",
"cppStandard": "c++17",
"intelliSenseMode": "macos-clang-arm64",
"mergeConfigurations": true,
"configurationProvider": "ms-vscode.cmake-tools",
"compilerPath": "/usr/bin/clang++"

Other Extensions

CMake

Additional context

I'm working on a large, private project so I can't share much of the logs or specific config but is there a way to see where it's looking for these libraries in order to check if something corrupted the path? I'm using the same clang++ that I've always been using.
Thanks.

After further digging, I think this is a problem with the cmake extension.