{
    // See https://go.microsoft.com/fwlink/?LinkId=733558
    // for the documentation about the tasks.json format
    "version": "2.0.0",
    "tasks": [
        {
            "label": "build",
            "type": "shell",
            "command": "msbuild",
            "args": [
                // Ask msbuild to generate full paths for file names.
                "/property:GenerateFullPaths=true",
                "/t:build",
                // Do not generate summary otherwise it leads to duplicate errors in Problems panel
                "/consoleloggerparameters:NoSummary"
            ],
            "group": "build",
            "presentation": {
                // Reveal the output only if unrecognized errors occur.
                "reveal": "silent"
            },
            // Use the standard MS compiler pattern to detect errors, warnings and infos
            "problemMatcher": "$msCompile"
        },
        {
            "label":   "A-Shell Compile",
            "type":    "shell",
            // "command": "${workspaceFolder}\\aux-files\\compil.ps1",
            "command":"c:\\vm\\Claude\\extension\\compiler\\compil.ps1",
            "args": [
                "${file}",
                "${workspaceFolder}"
            ],
            "options": {
                "cwd": ""
            },
            "group": {
                "kind": "build",
                "isDefault": true
            },
            "presentation": {
                "reveal": "always",
                "revealProblems": "always",
                "focus": false,
                "echo": true,
                "showReuseMessage": false,
                "panel": "shared",
                "clear": true
            },
            "problemMatcher": {
                "owner": "ashell",
                "fileLocation": [
                    "autoDetect",
                    "${fileDirname}"
                ],
                "pattern": {
                    "regexp": "^(\\d+),(.+),(\\d+),(.+),(.+)$",
                    "file": 2,
                    "line": 3,
                    "column": 1,
                    "message": 4,
                    "code": 5
                }
            }
        }
    ]
}