Highlight a phrase and click this icon to search it on Swyx-Forum    Highlight a phrase and click this icon to search it within the Swyx Knowledgebase    Highlight a phrase and click this icon to search it using Goolge    Highlight a phrase and click this icon to search it using Wikipedia

Highlight a phrase and click this icon to search it on Swyx-Forum    Highlight a phrase and click this icon to search it within the Swyx Knowledgebase    Highlight a phrase and click this icon to search it using Goolge    Highlight a phrase and click this icon to search it using Wikipedia

List of Blogs
Search Blogs

Blog Archive

Most recent blog entries

 

Most recent blog entries

 

Okt24

Written by:Martin
24.10.2008 11:31 

I finally found a sourcecode formatting plugin for Windows Live Writer …

I finally found a sourcecode formatting plugin for Windows Live Writer …

…which works:

public object[] ListFiles(string filename, string username, string scopelist, string categorylist)
{
   string[] scopes = new string[0];
   if (scopelist!="")
      scopes = scopelist.Split(new char[] { ',' });
   string[] categories = new string[0];
   if (categorylist!="")
   categories = categorylist.Split(new char[] { ',' }); ;
   CDSFileInfo[] fi = GetFileList(filename, username, scopes, categories);
   object[] o = new object[fi.Length];
   fi.CopyTo(o, 0);
   return o;
}

It understands various languages, can highlight lines and has various formatting options:

<trace autoflush="true" indentsize="2">
<listeners>
<!--The RollingFile is the standard TraceListener for the IpPbx:-->
<!--initializeData= CDSClient | CDSClientUser | Default | <File>-->
<!--CDSClient:      TraceFile is <IpPbxTraceFolder>\CDSClient.<ApplicationName>.log-->
<!--CDSClientUser:  TraceFile is <My Documents>\IpPbx\CDSClient.<ApplicationName>.log-->
<!--Default:        TraceFile is <IpPbxTraceFolder>\<ApplicationName>.log-->
<!--<File>:         TraceFile is the given file-->
<clear/>
<add name="RollingFile" type="SWTracing.RollingFileTraceListener, IpPbxTracing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cf78dfa0a74454f8" initializeData="CDSClient" traceOutputOptions="ProcessId, LogicalOperationStack, Timestamp, ThreadId, Callstack, DateTime" />
</listeners>
</trace>

And the best thing is. It’s free. http://www.amergerzic.com/post/WLWSourceCodePlugin.aspx

 

 

Tags:

 

1 comment(s) so far...

Re: Live Writer Sourcecode Plugin

Thats brilliant !!! ;-)

By tom.wellige on  24.10.2008 14:41

Your name:
Your email:
(Optional) Email used only to show Gravatar.
Title:
Comment:
Security Code
Enter the code shown above in the box below
Add Comment  Cancel 
Blog Help
Sponsors