# Monday, July 30, 2007
« Yet Another Reason FireFox Rocks | Main | JetBrains and My Big Disappointment »

This post is using the CSAH Visual Studio plugin.  I like it for the following reasons:

  1. Includes an installer, so its brainless.
  2. It has options you can set to override your current Visual Studio settings like font.
  3. It appears to copy all my colors, including background colors.  WYSIWYG.
  4. Best of all it has a menu option in the context menu, Copy as HTML.

Lets try it, select some code in Visual Studio, right click Copy as HTML.  ALT-TAB to Live Writer, right click select Paste Special.  Select Keep Formatting, OK.  It keeps all the formatting info inline, so it should work in RSS aggregators.

/// <summary>

/// Gets or sets the data dictionary reference.

/// </summary>

/// <value>The data.</value>

protected IDictionary Data

{

    get

    {

        if (IsWeb)

        {

            return HttpContext.Current.Items;

        }

        else

        {

            LocalDataStoreSlot slot = Thread.GetNamedDataSlot(DataKey);

            return (IDictionary) Thread.GetData(slot);

        }

    }

}

Sunday, July 29, 2007 11:40:38 PM (GMT Standard Time, UTC+00:00)  #    Disclaimer  |  Comments [0]  |  Tracked by:
"Software Development Guide" (Software Development Guide) [Trackback]

Comments are closed.