vscode-cpptools
vscode-cpptools copied to clipboard
Cannot find C++20 module files with relative path in commpile_commands.json
Environment
- OS and Version: Win11 24H2
- VS Code Version: 1.95.2
- C/C++ Extension Version: 1.23.1
Bug Summary and Steps to Reproduce
Intellisense says it cannot find module file:
This path is provided from compile_commands.json generated by xmake. It's a relative path to the "directory" property:
If I edit the path to absolute path manually, intellisense works just fine.
Configuration and Logs
Configuration:
{
"version": 4,
"configurations": [
{
"name": "win32",
"compileCommands": "${workspaceFolder}/compile_commands.json"
}
]
}
Other Extensions
No response
Additional context
No response
@Juvwxyz Fixed with https://github.com/microsoft/vscode-cpptools/releases/tag/v1.23.2