VsCode中添加tasks.json

 选中项目文件夹,按ctrl+shift+p,输入tasks

 

 选择之后,继续选择

 然后选择

 选中就可以了

原文地址:https://www.cnblogs.com/heyiping/p/13524177.html