The extension TextHighlighterExtension for Visual Studio 2010 support text file color coding.
Both extension .txt and .log are supported.
Color Customization
The color customization of each line is based on the following JSON data, which assign a regular expression with a color.TXT: { /* Color definition for .txt file */
"\\[WARNING\\]" : "DarkGoldenrod",
"\\[ERROR\\].*Minor" : "Salmon" ,
"\\[ERROR\\]" : "bold.Red" ,
"\\[INFO\\]" : "LightBlue" ,
"\\[PASSED\\]" : "Green" ,
"" : "NavajoWhite" /* The last item is the default color */
},
No comments:
Post a Comment