Reviewed: ColorCode 1.0.1 (мар 04, 2012)
Updated Wiki: Home
For ColorCode updates, follow @anglicangeek <script type="text/javascript">// <![CDATA[ !function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");
// ]]></script>
Project Description
ColorCode is a library for colorizing source code (also known as syntax highlighting).
Language Support
ColorCode supports the following languages:
- XML
- Java
- JavaScript
- SQL
- C#
- VB.NET
- ASPX (C#)
- ASPX (VB.NET)
- C++
- PHP
- PowerShell
Code Sample
using ColorCode; string sourceCode = File.ReadAllText(@"/path/to/source/file"); string colorizedSourceCode = new CodeColorizer().Colorize(sourceCode, Languages.CSharp);
Who's Using ColorCode?
- codeplex.com
- Microsoft Forums sites
Updated Wiki: Home
For ColorCode updates, follow @anglicangeek.
Project Description
ColorCode is a library for colorizing source code (also known as syntax highlighting).
Language Support
ColorCode supports the following languages:
- XML
- Java
- JavaScript
- SQL
- C#
- VB.NET
- ASPX (C#)
- ASPX (VB.NET)
- C++
- PHP
- PowerShell
Code Sample
using ColorCode; string sourceCode = File.ReadAllText(@"/path/to/source/file"); string colorizedSourceCode = new CodeColorizer().Colorize(sourceCode, Languages.CSharp);
Who's Using ColorCode?
- codeplex.com
- Microsoft Forums sites
Updated Wiki: Home
For ColorCode updates, follow @anglicangeek.
Project Description
ColorCode is a library for colorizing source code (also known as syntax highlighting).
Language Support
ColorCode supports the following languages:
- XML
- Java
- JavaScript
- SQL
- C#
- VB.NET
- ASPX (C#)
- ASPX (VB.NET)
- C++
- PHP
- PowerShell
Code Sample
using ColorCode; string sourceCode = File.ReadAllText(@"/path/to/source/file"); string colorizedSourceCode = new CodeColorizer().Colorize(sourceCode, Languages.CSharp);
Who's Using ColorCode?
- codeplex.com
- Microsoft Forums sites
Created Issue: SQL XML - tag interferrence [25037]
when the T-SQL code contains XML then XML tags interfere with HTML tags.
example (adding HEADER to HTML table):
SET @html.modify('insert <tr><th>date</th><th>user</th><th>version</th></tr> before (/table/tr)[1]')
Try entity tag <> into < >
Thanks.
New Post: I'm new...
How do you use this.
I can't even install it, or what ever you need to do.
Please help.(I feel kinda stupid.)
New Post: How do I change formatting?
I want to colorize XML. Out of the box, ColorCode colorizes it, but it reads as all one line. I want to format it so that elements are on a new line, indented, etc.
Since there is no documentation, it is very difficult to figure out how to do this.
Created Issue: XML colorizing can't handle empty attributes [25038]
New Post: Retrieve a list of supported languages
I wonder if there is a way to retrieve a list of supported languages , something like (C# pseudocode):
string language;
foreach( language in ColorCode.Languages)
{
// retrieve language
}
I'd like to load in a combo all the supported languages .
TIA
Jack
Updated Wiki: Home
Project Description
ColorCode is a library for colorizing source code (also known as syntax highlighting).
Language Support
ColorCode supports the following languages:
- XML
- Java
- JavaScript
- SQL
- C#
- VB.NET
- ASPX (C#)
- ASPX (VB.NET)
- C++
- PHP
- PowerShell
Code Sample
using ColorCode;string sourceCode = File.ReadAllText(@"/path/to/source/file");string colorizedSourceCode = new CodeColorizer().Colorize(sourceCode, Languages.CSharp);
Who's Using ColorCode?
- codeplex.com
- Microsoft Forums sites
Source code checked in, #bfa2870ed3a6
Source code checked in, #55e7ba1faebc
Source code checked in, #c9fba74c1569
Source code checked in, #00af86e364ea
Updated Wiki: Home
Project Description
ColorCode is a library for colorizing source code (also known as syntax highlighting).
Language Support
ColorCode supports the following languages:
- XML
- Java
- JavaScript
- SQL
- C#
- VB.NET
- ASPX (C#)
- ASPX (VB.NET)
- C++
- PHP
- PowerShell
- Typescript
Code Sample
using ColorCode; string sourceCode = File.ReadAllText(@"/path/to/source/file"); string colorizedSourceCode = new CodeColorizer().Colorize(sourceCode, Languages.CSharp);
Who's Using ColorCode?
- codeplex.com
- Microsoft Forums sites
Source code checked in, #64736beb80e4
New Post: Unable to use ColorCode
added the following code to my Form 1. When I run my project I get the following error?
Imports ColorCode
Error 3 The type or namespace name 'ColorCode' could not be found (are you missing a using directive or an assembly reference?) X:\Dev\SyntaxHighlighting\WindowsFormsApplication1\Form1.cs 9 7 WindowsFormsApplication1