Code Formatter Extension

Permet de formater du code.  Voici un exemple

1: [code:c#;ln=on]
2:

3:

4:  
5:         /// <summary/>
6:         protected CodeFormat()
7:         {
8:             //generate the keyword and preprocessor regexes from the keyword lists
9:             Regex r;
10:             r = new Regex(@"\w+|-\w+|#\w+|@@\w+|#(?:\\(?:s|w)(?:\*|\+)?\w+)+|@\\w\*+");
11:             st
12:

13:

14: [/code]
 

 

Il connait les langage suivant: 

  • C#
  • vb
  • js
  • html
  •  xml
  • tsql
  • msh

Voici un comment le declarer

 [c o d e:c#;ln=on]


Posted by: franky
Posted on: 3/14/2008 at 5:55 AM
Tags: , ,
Categories: .Net Programming | BlogEngine.NET
Actions: E-mail | del.icio.us
Post Information: Permalink | Comments (0) | Post RSSRSS comment feed