回复 6楼 apull
{
"version": "2.0.0",
"command": "grunt",
"tasks": [
{
"label": "test",
"type": "grunt",
"task": "test",
"problemMatcher": [],
"group": {
"_id": "test",
"isDefault": false
}
},
{
"label": "peg",
"type": "grunt",
"task": "peg",
"problemMatcher": [],
"group": {
"_id": "build",
"isDefault": false
}
},
{
"type": "cppbuild",
"label": "C/C++: cpp.exe 生成活动文件",
"command": "C:\\Users\\Hasee\\Downloads\\mingw64\\bin\\cpp.exe",
"args": [
"-fdiagnostics-color=always",
"-g",
"${file}",
"-o",
"${fileDirname}\\${fileBasenameNoExtension}.exe"
],
"options": {
"cwd": "${fileDirname}"
},
"problemMatcher": [
"$gcc"
],
"group": "build",
"detail": "编译器: C:\\Users\\Hasee\\Downloads\\mingw64\\bin\\cpp.exe"
}
]
}
这个是tasks里的。
{
"version": "0.2.0",
"configurations": [
{
"preLaunchTask": "peg",
"name": "Launch",
"type": "node",
"request": "launch",
"program": "${workspaceRoot}/test/cmake-format.js",
"stopOnEntry": false,
"args": ["test/CMakeLists.txt"],
"cwd": "${workspaceRoot}",
"runtimeExecutable": null,
"runtimeArgs": [
"--nolazy"
],
"env": {
"NODE_ENV": "development"
},
"externalConsole": true,
"sourceMaps": false,
"outDir": null
},
{
"name": "Attach",
"type": "node",
"request": "attach",
"port": 5858
}
]
}
这个是launch里的。改了,好像还是没变化。