vscode 配置C/C++环境 出现问题 could not find the task 'g++' / 'gcc'

1. tasks.json 中 tasks 的 label 项必须和 launch.json 的 preLaunchTask 相对应

2. task中的type类型必须是shell,如下:"type": "shell",

posted @ 2022-09-29 09:43  邱明成  阅读(325)  评论(0编辑  收藏  举报