xmake-io / xmake-vscode

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

vscode extension does not preserve buildir settings #102

Open xq114 opened 2 years ago

xq114 commented 2 years ago

Xmake 版本

2.6.5

操作系统版本和架构

Windows 10

描述问题

在项目中设置buildir之后,如果在vscode中点击build,之前设置的buildir会被覆盖

期待的结果

vscode插件能读取当前项目配置的buildir,不覆盖

工程配置

No response

附加信息和错误日志

No response

waruqi commented 2 years ago

在 xmake.additionalConfigArguments 中配置存储

xq114 commented 2 years ago

这个能不能探测一下本地配置?因为要同时跑多个option配置的程序,buildir经常切换,在设置里来回切太麻烦了

waruqi commented 2 years ago

目前插件不支持 命令行的 xmake config 读取缓存,走了插件,只能通过插件维护 xmake config,每次都是根据插件的配置状态,自动全量配置

不建议命令行,插件来回配置混用,目前不会两边同步