xmake: vscode intellisense include错误的问题
作者:互联网
解决方案:
手动生成compile_commands.json:
xmake project -k compile_commands
然后把它拷贝到.vscode中即可。
c_cpp_properties.json(参考)
{
"configurations": [
{
"compileCommands": ".vscode/compile_commands.json",
"intelliSenseMode": "windows-msvc-x64",
"cStandard": "c17",
"cppStandard": "c++17"
}
],
"version": 4
}
标签:commands,xmake,vscode,compile,json,msvc,include 来源: https://www.cnblogs.com/BinarySong/p/15121389.html