Search Wiki:
Windows Live Writer - Code Formatter Plugin
This project is a code formatter plug in for Windows Live Writer. When installed, you can paste your clipboard as code or type and edit source code.
There are many languages supported by this plugin, including:
  • C#
  • VB.NET
  • VBScript
  • Batch file scripts
  • Powershell scripts
  • Perl scripts
  • INI files
  • Java
  • JScript
  • PHP

The source and binaries are included in this project so feel free to have a play around with it. If you get any problems or would like a feature please let me know. Please also let me know if you'd like to contribute to the plugin.

Installation
Unzip the binaries the the \Windows Live Writer\Plugins directory. That's it.

Below are some screenshots of the plugin
After installation
wlwshot1.png

Adding/editing code
wlwshot-editcode.jpg

The code, formatter, in Windows Live Writer
wlwshot3.png
Last edited Aug 25 2006 at 9:38 PM  by stevedunn, version 10
Comments
jvierra wrote  Oct 8 2006 at 8:11 PM  
Please add DIV style alongwith a "autoflow:auto ". This causes the scrollbars to be turned on whenever the textflow exceeds the DIV size. This could be toggled on the cofig dialog.

jesse wrote  Oct 9 2006 at 5:58 AM  
Yo, wrote up a little review on my blog: (http://moving2thailand.spaces.live.com/blog/cns!ECD68E8F677B8C7!409.entry?_c11_blogpart_blogpart=blogview&_c=blogpart#permalink)

Love the plugin. I don't know enough about the underlying Live Spaces problem that prevented nearly every single other plugin from working correctly, but your plugin has the nicest interface I've yet seen, so I'd keep using it despite that. Feature wish list:
1) let me choose the color used for the line number text (I think it defaults to teal or something)
2) have an option to apply background color to every odd line, which can sometimes enhance readability for very dense code snippets.
Thanks!!

jvierra wrote  Feb 2 2007 at 12:56 AM  
Downloaded and reviewing code.

Steve did a lot of excellent work in the design and implementation of this plugin. It would be nice to see it get extended to include DIV support, background coor support and a copy button to grab code with proper line breaks.

I have many projects already but will look into the difficulty of diong one or all of these.

If anyone has any wishes they shuold post them here or on issue page.

raffaeu wrote  Jun 19 at 5:29 PM  
I cannot download the plugin anymore ...

Updating...