xmake-io / xmake-vscode

🍩 A XMake integration in Visual Studio Code
https://xmake.io
Apache License 2.0
228 stars 55 forks source link

compile_commands 的生成无法触发 #169

Closed zheng95z closed 1 year ago

zheng95z commented 1 year ago

Xmake 版本

2.6.4

操作系统版本和架构

Windows 10

描述问题

请问现在使用插件时如何触发 compile_commands.json 的生成?我之前使用时,使用 xmake:build 可以触发,现在无论如何尝试都没有办法自动使其生成。

期待的结果

生成 compile_commands.json

工程配置

No response

附加信息和错误日志

No response

zheng95z commented 1 year ago

在别的 issue 里找到了,是要更新 xmake.lua 时会触发其生成。感谢作者。

star-hengxing commented 1 year ago

也可以手动打开 vscode 的命令面板用 xmake.UpdateIntellisense