nicosantangelo / sublime-gulp

Run Gulp tasks and use snippets from Sublime Text
https://sublime-gulp.nicosantangelo.com/
MIT License
155 stars 18 forks source link

Colors with gulp-util.colors #75

Closed TCB13 closed 7 years ago

TCB13 commented 7 years ago

Hello,

I was trying this package and it works just fine, however I was trying to add some colors to the output of my gulp tasks and it doesn't print them.

I'm using the gulp-util module to color my output, and it works perfectly on the terminal but not under the sublime result window. Why? Can it be fixed?

Thank you.

nicosantangelo commented 7 years ago

Hello!

The output you see on Sublime Text it's just the text gulp writes to STDOUT being added to a regular tab. Sadly there's no way to actually see the output formatted as like you do in the Terminal.

The color you see while using the package is defined here, the solution would be creating your own Syntax Definition and then using it by overriding the syntax option of this package.

It's annoying, I know :(

TCB13 commented 7 years ago

@NicoSantangelo thanks for confirming my fears, I had run with this "issue" with build systems in the past. Frankly if the way to create a Syntax Definition it's not worth it. :( I guess 80% of the job is already done.