IBM-Cloud / vscode-log-output-colorizer

Language extension for VSCode that adds syntax colorization for both the output/debug/extensions panel and *.log files.
https://marketplace.visualstudio.com/items?itemName=IBM.output-colorizer
MIT License
111 stars 28 forks source link

Output sometimes not colorized #19

Closed oliversalzburg closed 6 years ago

oliversalzburg commented 6 years ago

I have two projects, both have an identical tasks.json. When I run project A, the output of the command is colorized: image

When I run it in project B, the output is not colorized: image

The tasks.json is this:

{
    "version": "0.1.0",
    "command": "bash.exe",
    "args": [
        "-c"
    ],
    "isShellCommand": true,
    "tasks": [
        {
            "taskName": "Build and watch",
            "suppressTaskName": true,
            "args": [
                "compile watch"
            ],
            "isBackground": true,
            "problemMatcher": [
                "$eslint-stylish"
            ]
        }
    ]
}

I can't figure out what the difference is or could be.

triceam commented 6 years ago

There's most likely another VS Code extension that is overriding the colorization in the Output panel. There can only be one active colorizer in the output channel at any time - this is a limitation with VS Code itself. Its been reported that the Python, Code Runner, and Quokka extensions will cause conflicts. There are also a few others that I can't remember the names of off hand. If you want the colorizer to have precedence, then you might have to disable other extensions.