Sunday, September 23, 2007

New version of the Code Formatter Plug-in for Windows Live Writer.

Version 1.0.0.3 of my plug-in for Windows Live Writer is now available.  This version works with the new Beta 3 version of WLW (and also older versions).

Languages now include:

  • Assembly
  • BatchFile
  • CSharp
  • CSS
  • HTML
  • INIFile
  • Java
  • JScript
  • Lua (pronounced LOO-ah)
  • MSIL
  • Pascal
  • Perl
  • PHP
  • PowerShell
  • Python
  • SQL
  • VBDotNet
  • VBScript
  • XAML
  • XML

Download it now from my tools page.

5 comments:

Anonymous said...

Hi Steve,
thanks for the plug-in, but I've run in several bugs (maybe related):
1. the drop down list of the shows duplicate choices for Automatic and Both (i.e. Automatic, None, Both, Horiz, Vert, None, Automatic, clip, Both);
2. If I choose Vertical, then WLW shows a Message saying it has stopped working;
3. While I can resize the horizontal size of the code block, I can't do it vertilally;
4. when bars are showed, I can move them clicking on the top, bottom, left and right small arrows but if I try to drag the bars my action is interpreted as if I tried to move the code block, so nothing happen (bars are not moved to the appropriate position).
Hope this can help your plug-in.

Steve Dunn said...

Hi there, thanks for the feedback. I'll take a look shortly.
Cheers,

Steve

KevM said...

Love the plugin but I am having problems with it.

It seems to become unstable after I add pictures to my post and then try to Insert Clipboard as Code.

I get this exception:

{exception}
System.IO.FileNotFoundException: The dynamic language XML definition '\\server\users\username\My Documents\My Pictures\Dash\plugins\Languages\ActiproSoftware.CSharp.xml' was not found.
at ActiproSoftware.SyntaxEditor.Addons.Dynamic.DynamicSyntaxLanguage.LoadFromXml(String path, Int32 encryptionKey)
at DunnHQ.Wlw.CodeFormatter.SettingsAdapter.getSource()
at DunnHQ.Wlw.CodeFormatter.SettingsAdapter.get_Source()
at DunnHQ.Wlw.CodeFormatter.Plugin.GeneratePublishHtml(ISmartContent content, IPublishingContext publishingContext)
at WindowsLive.Writer.Api.SmartContentSource.GenerateEditorHtml(ISmartContent content, IPublishingContext publishingContext)
at WindowsLive.Writer.PostEditor.ContentSources.ContentSourceManager.PerformInsertion(IContentSourceSite sourceSite, ContentSourceInfo contentSource)
{/exception}

After the exception is thrown if I save the post I lose everything after the first point where I have an inserted code block.

We have roaming profiles here and the exception seems to be looking for a file in MyDocuments but WLW is installed at the default location.

I am running WLW 1.0 and your 1.0.3 plugin.

Thanks,

Kevin Miller

Anonymous said...

Thanks,
I was searching for a utility to format my xaml code. finaly i got this

Anonymous said...

thanks for sharing this site. there are various kinds of ebooks available from here

http://feboook.blogspot.com