-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed as not planned
Labels
Language Servicemore info neededThe issue report is not actionable in its current stateThe issue report is not actionable in its current state
Description
Environment
- OS and Version: WSL2 Ubuntu 20.04 from Windows 11
- VS Code Version: 1.98.2
- C/C++ Extension Version: 1.23.1
Bug Summary and Steps to Reproduce
Bug Summary: Intellisense has become unusable. When I hover over objects, it loads indefinitely.
Steps to reproduce:
- Open a C++ file
- Hover over a word for description
- "Loads" forever
Expected behavior: I should get the description of the object.
Configuration and Logs
{
"configurations": [
{
"name": "Mac",
"includePath": [
"${workspaceFolder}/**",
"/usr/local/opt/openmpi/**"
],
"compilerPath": "/usr/bin/clang",
"cppStandard": "c++17",
"compileCommands": "${workspaceFolder}/compile_commands.json"
}
],
"version": 4
}
I'm getting a bunch of
Attempting to get defaults from C++ compiler in "compilerPath" property: '/usr/bin/clang'
Compiler query command line: /usr/bin/clang --target=x86_64-unknown-linux-gnu -fstack-protector -fno-omit-frame-pointer -fcolor-diagnostics -g0 -O2 -ffunction-sections -fdata-sections -std=c++17 -stdlib=libstdc++ -frandom-seed=[...] -fPIC -fopenmp -gdwarf-4 -no-canonical-prefixes -fdebug-prefix-map=external/llvm_toolchain_llvm/=__bazel_toolchain_llvm_repo__/ -Wp,-v -fno-blocks -E -dM -x c++ /dev/null
and
clang: �[0;1;31merror: �[0munsupported option '--expt-relaxed-constexpr'�[0m
clang: �[0;1;31merror: �[0munsupported option '--extended-lambda'�[0m
then
LSP: (received) cpptools/hover: [...] (id: 85)
LSP: (invoked) cpptools/hover: [...] (id: 85)
Populating file name cache...
LSP: $/cancelRequest (cpptools/hover, id: 85)
Done populating filename cache. Elapsed time: 8510 ms
Error squiggles will be disabled in: [...]Other Extensions
No response
Additional context
Reverting to 1.23.0 works. We use bazel to generate compile commands.
Metadata
Metadata
Assignees
Labels
Language Servicemore info neededThe issue report is not actionable in its current stateThe issue report is not actionable in its current state
Type
Projects
Status
Done