Closed
Description
Type: LanguageService
I have an issue with language server. When I'm opening one file with vscode-cpptools enabled it seems that intellisense doesn't work and in c/c++ output I see following lines:
sending compilation args for /Users/zaripov-kamil/blah/plumbus/main.cpp
include: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include
...
framework: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks
define: __llvm__=1
...
other: --clang
other: --clang_version=120000
stdver: c++17
intelliSenseMode: clang-x64
idle loop: reparsing the active document
Checking for syntax errors: file:///Users/zaripov-kamil/blah/plumbus/main.cpp
cpptools/getDocumentSymbols
cpptools/getCodeActions: file:///Users/zaripov-kamil/blah/plumbus/main.cpp (id: 9)
Queueing IntelliSense update for files in translation unit of: /Users/zaripov-kamil/blah/plumbus/main.cpp
Database safe to open
Failed to read response from server: 20
cpptools/finishUpdateSquiggles
Update IntelliSense time (sec): 9.442
I see suspicious Failed to read response from server: 20
but I don't know why client failed to read response.
Describe the bug
- OS and Version: macOS 10.15.7 (19H15)
- VS Code Version: 1.52.1 (Commit: ea3859d4ba2f3e577a159bc91e3074c5d85c0523)
- C/C++ Extension Version: v1.1.3
- Other extensions you installed (and if the issue persists after disabling them):
- Does this issue involve using SSH remote to run the extension on a remote machine?: no
- A clear and concise description of what the bug is, including information about the workspace (i.e. is the workspace a single project or multiple projects, size of the project, etc).
Steps to reproduce
Unfortunately I can't share code sample to reproduce error.
Expected behavior
Logs
Insert logs here.
Screenshots
Additional context