xmake-vscode icon indicating copy to clipboard operation
xmake-vscode copied to clipboard

vscode extension does not preserve buildir settings

Open xq114 opened this issue 2 years ago • 3 comments

Xmake 版本

2.6.5

操作系统版本和架构

Windows 10

描述问题

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

期待的结果

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

工程配置

No response

附加信息和错误日志

No response

xq114 avatar May 05 '22 11:05 xq114

在 xmake.additionalConfigArguments 中配置存储

waruqi avatar May 05 '22 12:05 waruqi

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

xq114 avatar May 06 '22 03:05 xq114

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

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

waruqi avatar May 06 '22 04:05 waruqi