xmake-io / xmake-vscode

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

对远程包intellisense支持存在问题 #192

Closed yqs112358 closed 1 year ago

yqs112358 commented 1 year ago

Xmake 版本

2.7.8

操作系统版本和架构

Windows11 22H2

描述问题

使用xmake install安装asio后,在xmake.lua写上了add_require和add_packages

image

不过编译完之后compile_commands.json里面仍然只有源码,并没有依赖包的路径,导致intellisense也无法找到对应包的头文件

image

期待的结果

VSCode插件可以自动根据远程包在compile_commands.json中添加目标包的相关依赖信息,以便intellisense

工程配置

test.zip

附加信息和错误日志

No response

yqs112358 commented 1 year ago

奇怪,问题好像又消失了。暂时关闭,如果仍然有问题我再将重新反馈