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

Not working in 1.10.2 #16

Closed elirnm closed 7 years ago

elirnm commented 7 years ago

This isn't coloring anything for me in VS Code 1.10.2, not in .log files or in the output console.

triceam commented 7 years ago

thanks, looking into it now. was on travel last week...

triceam commented 7 years ago

Looks like the mime type is not working in VS Code version 1.10.2. I submitted an issue with VS Code project here: https://github.com/Microsoft/vscode/issues/23680

triceam commented 7 years ago

I have fixed support for .log files, and will push an update soon, but waiting to hear back on the mime type issue first.

triceam commented 7 years ago

I pushed an update that will fix .log files, but it is still broken in the output panel due to a "bug" in VS Code.

triceam commented 7 years ago

Note: this is working in the latest insiders build: 1.11.0-insider

triceam commented 7 years ago

Colorizer extension is working again now that VS Code 1.11.0 has been released by Microsoft. Update to the latest release of VS Code.

triceam commented 7 years ago

Looks like it is broken again in VS Code 1.11.1, but it does work in the VSCode Insiders build 1.12.0. So, looks like we have to wait for another release before it will work again in the main/stable VS Code release.

triceam commented 7 years ago

OK, i finally figured it out. This extension is, in fact, working within the latest public VSCode. Turns out other extensions are taking advantage of mime type for colorizing the output panel, and in doing so, it may disable the functionality of this extension. In my case, it was the Python extension that was disabling it locally for me. So, this is no longer a bug b/c it's not a problem within this extension. I think if we can get ANSI color support working in this extension too, then we can avoid others breaking this extension's functionality.