Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Colored build output in Visual Studio

I am using a Visual Studio project with custom build script/batch file (ala make, ant, etc.).

When the build is run from the command line we have placed colored highlighting on various output lines.

However, when built via Visual Studio (2005 in my case) the output window does not show the color anymore.

Is this possible? I am quite happy to put specific code into the build script if required.

like image 702
ShoeLace Avatar asked Sep 08 '08 15:09

ShoeLace


People also ask

How do I make Visual Studio colorful?

Here's how to change the color theme of the IDE frame and the tool windows in Visual Studio. On the menu bar, choose Tools > Options. In the options list, choose Environment > General. In the Color theme list, choose either the default Dark theme, the Light theme, the Blue theme, or the Blue (Extra Contrast) theme.

How can I see the build output in Visual Studio?

To display the Output window whenever you build a project, in the Options dialog box, on the Projects and Solutions > General page, select Show Output window when build starts.

What do the colors in Visual Studio mean?

Here's your quick reference to the colors and icons in the editor window's right-hand margin: Yellow: The line has been changed but not yet saved. Green: The line has been changed and saved. Orange: The line has been changed, saved, and the change undone. Little square dots in the middle of the margin: Break points.


1 Answers

If you don't want to go with the pro version of the VSCommands plug-in, there is a free one called VSColorOutput, which does just that. I've worked with it a bit, does what it says.

See http://coolthingoftheday.blogspot.com/2011/12/vscoloroutput-visual-studio-output.html or look it up in the extension gallery.

like image 88
theDmi Avatar answered Sep 20 '22 19:09

theDmi