LiveWriter Code Formatting Plug-In

Another thing that took me far too long to find today... there's a lot of links to Steve Dunn's tool, including the CodePlex version, which hasn't been updated since 2006. And, since it doesn't have an installer or the DLLs readily available, you'll waste a lot of time looking for that too.

You might consider trying this tool. Looks pretty good to me so far. And, yes, it supports a few languages. And line numbers. And highlighting.

Public Class ThisRocks
  Public Function URL As String
    Return "http://www.amergerzic.com/post/WLWSourceCodePlugin.aspx"
  End Function
End Class
  1: public ThisIsOkToo
  2: {
  3:   public string URL()
  4:   {
  5:     return "http://www.amergerzic.com/post/WLWSourceCodePlugin.aspx";
  6:   }
  7: }

A word of caution. There's a little silliness around seeing the formatted code properly in WLW. You'll end up getting used to switching to the HTML source and back... or just learning to trust the tool.

Print | posted @ Tuesday, November 18, 2008 5:14 PM

Comments on this entry:

Gravatar # re: LiveWriter Code Formatting Plug-In
by Steve Dunn at 3/16/2009 4:05 PM

Hi,
Sorry you wasted time looking for my plug-in. Just a quick note to say there's a new version available at http://stevedunns.googlepages.com/codeformatterforwindowslivewriter

It hasn't got an installed, but if you just unzip to the \program files\windows live\writer\plugins folder it should recognise it.

I plan on taking down the CodePlex page as I don't think anyone's interested in the source code anyway.

Hope you find it useful.

Cheers,

Steve
Gravatar # re: LiveWriter Code Formatting Plug-In
by Steve Dunn at 7/15/2010 12:59 PM

Hi again. I thought you might like to know there’s a new version of the Code Formatter Plugin for Windows Live Writer.
The new version is 2.5 and can be found at http://code.google.com/p/codeformatterpluginforwindowslivewriter/
Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification: