-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed as not planned
Closed as not planned
Copy link
Labels
Language Servicemore info neededThe issue report is not actionable in its current stateThe issue report is not actionable in its current state
Description
Bug type: Language Service
Describe the bug
- OS and Version: win11, 10.0.22000, remote ubuntu20.04
- VS Code Version: 1.67.2
- C/C++ Extension Version: v1.10.3 / v1.9.8
- Other extensions you installed (and if the issue persists after disabling them): c++ intellisense
- If using SSH remote, specify OS of remote machine: ubuntu20.4
- 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).
In the workspace, vscode can not find the definition of the variable(some can be found, some can not be found, especially in different files), and it can not identify the member of a struct though it can jump to its definition. But the code can be compiled and run normally.
The configurations as follow:
c_cpp_properties.json
{
"configurations": [
{
"name": "Linux",
"includePath": [
"${workspaceFolder}/**",
"/usr/src/**",
"/usr/include/**"
],
"defines": [],
"compilerPath": "/usr/bin/gcc",
"cStandard": "c11",
"cppStandard": "c++20",
"intelliSenseMode": "linux-gcc-x64"
}
],
"version": 4
}
settings.json: none.
Screenshots
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