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
117 stars 28 forks source link

Dotnet build output #2

Open jchannon opened 8 years ago

jchannon commented 8 years ago

Would be great to get the syntax from running "dotnet build" colorised

jsloyer commented 8 years ago

@jchannon I am not familiar with the "dotnet build", is that an extension or what?

jchannon commented 8 years ago

It's the new dotnet runtime www.dot.net

It's like when you call Python or Swift or node from the terminal.

You call dotnet build/restore/test and it gives output

On Saturday, 30 July 2016, Jeff Sloyer notifications@github.com wrote:

@jchannon https://github.com/jchannon I am not familiar with the "dotnet build", is that an extension or what?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/IBM-Bluemix/vscode-log-output-colorizer/issues/2#issuecomment-236366286, or mute the thread https://github.com/notifications/unsubscribe-auth/AAGapg9F_yWUusdXhpqvc1xJiN-f2ZJ0ks5qa1akgaJpZM4JYzsa .

jsloyer commented 8 years ago

@jchannon whats the integration with it in vscode? Asking as we need to create regexp's and the right file format for it.

jchannon commented 8 years ago

The integration with VSCode is the same for node/Python etc. You create a tasks.json which you setup cmds that VSCode will call out to. It then puts the output into the Ouput panel

More here https://code.visualstudio.com/docs/editor/tasks

http://blog.jonathanchannon.com/2016/07/13/building-all-current-dotnet-core-projects-vscode/

On Saturday, 30 July 2016, Jeff Sloyer notifications@github.com wrote:

@jchannon https://github.com/jchannon whats the integration with it in vscode? Asking as we need to create regexp's and the right file format for it.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/IBM-Bluemix/vscode-log-output-colorizer/issues/2#issuecomment-236366471, or mute the thread https://github.com/notifications/unsubscribe-auth/AAGappXguqrftI6jombey_lmfaMLjo8dks5qa1eFgaJpZM4JYzsa .

jchannon commented 8 years ago

I did have some regex for old .net framework here but not sure if the .net output is slightly different. It the tests output might be the same so possibly reusable

https://github.com/OmniSharp/omnisharp-sublime/blob/master/BuildConsole.hidden-tmLanguage

On Saturday, 30 July 2016, Jonathan Channon jonathan.channon@gmail.com wrote:

The integration with VSCode is the same for node/Python etc. You create a tasks.json which you setup cmds that VSCode will call out to. It then puts the output into the Ouput panel

More here https://code.visualstudio.com/docs/editor/tasks

http://blog.jonathanchannon.com/2016/07/13/building-all-current-dotnet-core-projects-vscode/

On Saturday, 30 July 2016, Jeff Sloyer <notifications@github.com javascript:_e(%7B%7D,'cvml','notifications@github.com');> wrote:

@jchannon https://github.com/jchannon whats the integration with it in vscode? Asking as we need to create regexp's and the right file format for it.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/IBM-Bluemix/vscode-log-output-colorizer/issues/2#issuecomment-236366471, or mute the thread https://github.com/notifications/unsubscribe-auth/AAGappXguqrftI6jombey_lmfaMLjo8dks5qa1eFgaJpZM4JYzsa .

jchannon commented 8 years ago

Looking here it seems to be the same format as sublime so might be able to copy paste it :)

https://github.com/IBM-Bluemix/vscode-log-output-colorizer/blob/master/src/syntaxes/log.tmLanguage

On Saturday, 30 July 2016, Jonathan Channon jonathan.channon@gmail.com wrote:

I did have some regex for old .net framework here but not sure if the .net output is slightly different. It the tests output might be the same so possibly reusable

https://github.com/OmniSharp/omnisharp-sublime/blob/master/BuildConsole.hidden-tmLanguage

On Saturday, 30 July 2016, Jonathan Channon <jonathan.channon@gmail.com javascript:_e(%7B%7D,'cvml','jonathan.channon@gmail.com');> wrote:

The integration with VSCode is the same for node/Python etc. You create a tasks.json which you setup cmds that VSCode will call out to. It then puts the output into the Ouput panel

More here https://code.visualstudio.com/docs/editor/tasks

http://blog.jonathanchannon.com/2016/07/13/building-all-current-dotnet-core-projects-vscode/

On Saturday, 30 July 2016, Jeff Sloyer notifications@github.com wrote:

@jchannon https://github.com/jchannon whats the integration with it in vscode? Asking as we need to create regexp's and the right file format for it.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/IBM-Bluemix/vscode-log-output-colorizer/issues/2#issuecomment-236366471, or mute the thread https://github.com/notifications/unsubscribe-auth/AAGappXguqrftI6jombey_lmfaMLjo8dks5qa1eFgaJpZM4JYzsa .

jchannon commented 8 years ago

Looks like dotnet build output is already colored so we wouldnt need any regex but we could use the xunit regex in the file I linked to. I tried copying pasting that file into the syntaxes folder and restarted VSCode and ran dotnet test but the output was still black and white

On 30 July 2016 at 15:18, Jonathan Channon jonathan.channon@gmail.com wrote:

Looking here it seems to be the same format as sublime so might be able to copy paste it :)

https://github.com/IBM-Bluemix/vscode-log-output-colorizer/blob/master/src/syntaxes/log.tmLanguage

On Saturday, 30 July 2016, Jonathan Channon jonathan.channon@gmail.com wrote:

I did have some regex for old .net framework here but not sure if the .net output is slightly different. It the tests output might be the same so possibly reusable

https://github.com/OmniSharp/omnisharp-sublime/blob/master/BuildConsole.hidden-tmLanguage

On Saturday, 30 July 2016, Jonathan Channon jonathan.channon@gmail.com wrote:

The integration with VSCode is the same for node/Python etc. You create a tasks.json which you setup cmds that VSCode will call out to. It then puts the output into the Ouput panel

More here https://code.visualstudio.com/docs/editor/tasks

http://blog.jonathanchannon.com/2016/07/13/building-all-current-dotnet-core-projects-vscode/

On Saturday, 30 July 2016, Jeff Sloyer notifications@github.com wrote:

@jchannon https://github.com/jchannon whats the integration with it in vscode? Asking as we need to create regexp's and the right file format for it.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/IBM-Bluemix/vscode-log-output-colorizer/issues/2#issuecomment-236366471, or mute the thread https://github.com/notifications/unsubscribe-auth/AAGappXguqrftI6jombey_lmfaMLjo8dks5qa1eFgaJpZM4JYzsa .