Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dotnet build output #2

Open
jchannon opened this issue Jul 30, 2016 · 7 comments
Open

Dotnet build output #2

jchannon opened this issue Jul 30, 2016 · 7 comments

Comments

@jchannon
Copy link

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

@jsloyer
Copy link
Contributor

jsloyer commented Jul 30, 2016

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

@jchannon
Copy link
Author

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 [email protected] 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
#2 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAGapg9F_yWUusdXhpqvc1xJiN-f2ZJ0ks5qa1akgaJpZM4JYzsa
.

@jsloyer
Copy link
Contributor

jsloyer commented Jul 30, 2016

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

@jchannon
Copy link
Author

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 [email protected] 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
#2 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAGappXguqrftI6jombey_lmfaMLjo8dks5qa1eFgaJpZM4JYzsa
.

@jchannon
Copy link
Author

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 [email protected]
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 <[email protected]
javascript:_e(%7B%7D,'cvml','[email protected]');> 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
#2 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAGappXguqrftI6jombey_lmfaMLjo8dks5qa1eFgaJpZM4JYzsa
.

@jchannon
Copy link
Author

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 [email protected]
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 <[email protected]
javascript:_e(%7B%7D,'cvml','[email protected]');> 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 [email protected] 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
#2 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAGappXguqrftI6jombey_lmfaMLjo8dks5qa1eFgaJpZM4JYzsa
.

@jsloyer jsloyer removed the in plan label Jul 31, 2016
@jchannon
Copy link
Author

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 [email protected]
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 [email protected]
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 [email protected]
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 [email protected] 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
#2 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAGappXguqrftI6jombey_lmfaMLjo8dks5qa1eFgaJpZM4JYzsa
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants