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