nickdodd79 / vscode-gulptasks

A gulp task visualization and execution extension for Visual Studio Code
MIT License
8 stars 6 forks source link

Gulp output formatting #20

Open YonasJ opened 6 years ago

YonasJ commented 6 years ago

When I run the plugin, my output shows up in the gulp console, however, the formatting does not come out quite right. I am using SPFX, which seems to want to format the output.

2018-08-05 13_48_08-gulpfile-prod js - projectfinancials - visual studio code

In the console, it comes out in nice color like this:

2018-08-05 13_48_59-gulpfile-prod js - projectfinancials - visual studio code

If it is an easy change it would be lovely if it could show the colors as well.

nickdodd79 commented 6 years ago

Hi @YonasJ

I have attempted the formatted/colored output before, but due to limitations with vscode, it was a struggle. That was however a few versions ago so they may have improved the abilities. I will take a look and see if it is something I can put in place.

Nick.

nickdodd79 commented 6 years ago

Hey @YonasJ

I have been looking into the coloring of the output and it seems to be possible, However, there are some complexities especially with regards to clashing with other extensions. It seems to be based on a mime type and if another extension you have installed uses that mime type as well, then it a 'last wins' situation.

I will look into it more, but it may turn out to be somewhat problematic until vscode has better support for it.

Nick.