:::: MENU ::::

Thursday, October 23, 2008

Everyone who pastes code into his or her blog has probably used it. If you haven't, then you have to check it out. It allows you to copy code into your blog post almost instantly, and produces things like this:

/// <summary>
/// Gets or sets the name of the server.
/// </summary>
/// <value>The name of the server.</value>
public string ServerName
{
    get 
    { 
        return this.serverName; 
    }
    set
    {
        this.serverName = value; 
    }
}

The authors of CopySourceAsHTML sent me an email today to inform me of their latest version. This version includes the following changes:

  • A number of bug fixes
  • The new option Save as HTML, allowing you to save the HTML code rather than posting it to your clip-board

This is also the first version to officially support Visual Studio 2008 and marks the return to active development of this VS add-on.

So if you like to add code to your blog the easy way, be sure to check out the new version. If you're using Community Server, be sure to read this post.. It explains how to change the settings for CopySourceAsHTML so that it resembles the example above.