在Visual Studio Code中,如何配置终端以彩色显示构建错误?

时间:2017-12-04 11:17:54

标签: visual-studio-code vscode-tasks

在Visual Studio Code 1.18.1中,我有一个构建任务:

{
    "version": "2.0.0",
    "tasks": [
        {
            "label": "Build LedaAP",
            "type": "shell",
            "command": "c:/WindRiver/workbench-4/wrtool.bat -data c:/WindRiver/workspace_BR_SW_BFHW prj build LedaAP",
            "problemMatcher": [
                "$gcc"
            ],
            "group": {
                "kind": "build",
                "isDefault": true
            },
            "presentation": {
                "reveal": "always",
                "panel": "new"
            }
        }
}

构建输出采用gcc样式。目前,所有文本都以黑色显示。如何配置终端以红色(或其他突出显示)显示错误?

0 个答案:

没有答案