23/07/2022 20:19
(23/07/2022 17:18)LouzinDS Escreveu: Opa mano tenta usar esta tasks.json:
Código:{
"version": "2.0.0",
"tasks": [
{
"label": "Compile",
"type": "shell",
"command": "${workspaceRoot}/pawno/pawncc.exe",
"args": ["${file}", "--%", "-Dgamemodes", "-;+", "-(+", "-O1"],
"group": {
"kind": "build",
"isDefault": true
},
"isBackground": false,
"presentation": {
"reveal": "silent",
"panel": "dedicated"
},
"problemMatcher": "$pawncc"
},
{
"label": "Compile-Debug",
"type": "shell",
"command": "${workspaceRoot}/pawno/pawncc.exe",
"args": ["${file}", "--%", "-Dgamemodes", "-;+", "-(+", "-d3", "-O1"],
"group": {
"kind": "build",
"isDefault": true
},
"isBackground": false,
"presentation": {
"reveal": "silent",
"panel": "dedicated"
},
"problemMatcher": "$pawncc"
},
{
"label": "ASM",
"type": "shell",
"command": "${workspaceRoot}/pawno/pawncc.exe",
"args": ["${file}", "--%", "-Dgamemodes", "-;+", "-(+", "-a"],
"group": {
"kind": "build",
"isDefault": true
},
"isBackground": false,
"presentation": {
"reveal": "silent",
"panel": "dedicated"
},
"problemMatcher": "$pawncc"
},
{
"label": "Reference",
"type": "shell",
"command": "${workspaceRoot}/pawno/pawncc.exe",
"args": ["${file}", "--%", "-Dgamemodes", "-;+", "-(+", "-r"],
"group": {
"kind": "build",
"isDefault": true
},
"isBackground": false,
"presentation": {
"reveal": "silent",
"panel": "dedicated"
},
"problemMatcher": "$pawncc"
},
{
"label": "Debug-Reference",
"type": "shell",
"command": "${workspaceRoot}/pawno/pawncc.exe",
"args": ["${file}", "--%", "-Dgamemodes", "-;+", "-(+", "-d3", "-r", ],
"group": {
"kind": "build",
"isDefault": true
},
"isBackground": false,
"presentation": {
"reveal": "silent",
"panel": "dedicated"
},
"problemMatcher": "$pawncc"
}
]
}
Mano coloquei esse código e mesmo assim deu o mesmo erro! sabe outra forma de resolver?