Description
Environmen A3E6 t
- OS and Version: MacOS 12.7.3
- VS Code Version: 1.87.0
- C/C++ Extension Version: 1.19.4
- If using SSH remote, specify OS of remote machine: N/A
Bug Summary and Steps to Reproduce
Bug Summary:
Just while using VS code everything will be working as normal then ever so often I just get the IntelliSense: Updating
spinning wheel and it never stops. Sometimes it will keep errors in the "Problems" pain even after they are fixed when this happens and I have to Quit VS code and restart. Then it will work for a while and do it again. I build the code with the CMake pluggin incase that makes a difference.
Steps to reproduce:
Don't have to be doing anything special, it just happens on normal use.
One way to make it happen quite reliably is to close the MacBooks lid and let it sleep while VS code is open, open it again and usually I will get the constant updating spinning wheel until VS code is quit and restarted.
Another way to make it happen quite reliably is have VS code open on one desktop and slide to another, then slide back to the VS code desktop again and usually I will get the constant updating spinning wheel until VS code is quit and restarted.
Expected behavior:
For the spinning wheel to go stop after a period and the intellisense to work.
Configuration and Logs
{
"version": 4,
"configurations": [
{
"name": "Mac",
"compilerPath": "/usr/bin/clang",
"compilerArgs": [],
"intelliSenseMode": "clang-x64",
"includePath": [
"${workspaceFolder}/**",
"${workspaceFolder}/../build/version",
"/my-home/.conan/data/gtest/1.12.1/_/_/package/bea8f6d16a8dc05432bcc6dc8e49989621426e7e/include/",
"/my-home/.conan/data/boost/1.81.0/_/_/package/5aa37845b0c4f80d5fc678ca5c4995018b9ada03/include/",
"/my-home/.conan/data/nlohmann_json/3.11.2/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/",
"/my-home/.conan/data/sqlitecpp/3.3.1/_/_/package/d8c13d601fc0940cfc263caf4a804f499b164c06/include/",
"/my-build-location/_deps/http_server-src/include/"
],
"forcedInclude": [],
"cStandard": "c17",
"cppStandard": "c++17",
"defines": [
"USBCON",
"MAC"
]
}
]
}
```JSON
{
"os": "darwin",
"vscodeVersion": "1.87.0",
"cmtVersion": "1.17.17",
"configurations": [
{
"folder": "/my-home/race_data_logger",
"cmakeVersion": "3.27.3",
"configured": true,
"generator": "Unix Makefiles",
"usesPresets": false,
"compilers": {
"C": "/usr/bin/clang",
"CXX": "/usr/bin/clang++"
}
}
],
"cpptoolsIntegration": {
"isReady": true,
"hasCodeModel": true,
"activeBuildType": "Debug",
"buildTypesSeen": [
"Debug"
],
"requests": [],
"responses": [],
"partialMatches": [],
"targetCount": 82,
"executablesCount": 21,
"librariesCount": 32,
"targets": []
},
"settings": [
{
"communicationMode": "automatic",
"useCMakePresets": "auto",
"configureOnOpen": false
}
]
}
LSP: (received) textDocument/completion: file:///my-src-dir/race_data_logger/test/unit/posix/hal/storage/database_tests.cpp (id: 346)
LSP: $/cancelRequest (textDocument/completion, id: 346)
LSP: (received) cpptools/getCodeActions: file:///my-src-dir/race_data_logger/test/unit/posix/hal/storage/database_tests.cpp (id: 347)
LSP: (received) cpptools/getDocumentSymbols: file:///my-src-dir/race_data_logger/test/unit/posix/hal/storage/database_tests.cpp (id: 348)
LSP: (invoked) cpptools/getDocumentSymbols: file:///my-src-dir/race_data_logger/test/unit/posix/hal/storage/database_tests.cpp (id: 348)
LSP: Sending response (id: 348)
I this while waiting for code completion to show. I get pretty much identical logs if I try and hover over something, it just says loading for ever.
### Other Extensions
* Arduino
* Atom one dark theme
* C/C++
* Cmake
* Cmake tools
* Git blame
* Github actions
* Go
* Isort
* Jupyter
* Jupyter cell tags
* Jupyter key map
* Jupyter notebook renderers
* Jupyter slideshow
* Pylance
* Python
* Python debugger
* Serial monitor
* Trailing spaces
* vscode-pets
* vscode-stl-viewer
### Additional context
After downgrading to 1.18.5 I don't have any issues.