首页 > 其他 > 详细

xmake: vscode intellisense include错误的问题

时间:2021-08-10 11:06:08      阅读:32      评论:0      收藏:0      [点我收藏+]

解决方案:
手动生成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
}

xmake: vscode intellisense include错误的问题

原文:https://www.cnblogs.com/BinarySong/p/15121389.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!