0

In Visual Studio Code 1.18.1, I have a build task:

{
    "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"
            }
        }
}

The build output is in gcc style. Presently, all text is shown in black. How can I configure the terminal to show errors in red (or other highlight)?

DavidA
  • 2,053
  • 6
  • 30
  • 54
  • I am surprised that errors aren't already shown in red. But perhaps the "workbench.colorCustomizations" : { "errorForeground": "#f00" } will work for you. – Mark Dec 05 '17 at 00:39
  • Thanks for your reply, but that did not work. It seems that this feature is not fully supported yet: https://github.com/Microsoft/vscode/issues/243 – DavidA Dec 05 '17 at 09:16
  • Did you try the extension https://marketplace.visualstudio.com/items?itemName=IBM.output-colorizer mentioned in that link? Just wondering if it works for you. – Mark Dec 05 '17 at 10:51
  • I have installed the Colorizer plugin (mentioned in the link) but there was no change in behaviour. I'm confused: it seems that tasks send output to the Output window and Colorizer operates on that window. However, my build task is sending its output to the Terminal window. Maybe that's why Colorizer is not having any effect. Is my task wrongly configured? – DavidA Dec 05 '17 at 14:07

0 Answers0