Cool VS.NET Add-In

From Scott Hanselman’s List of Ultimate Visual Studio.NET AddIns,
CopySourceAsHtml. This little gem allows you to copy code from the
Visual Studio.NET editor to the clipboard complete with HTML formatting.
If you have ever wanted to easily create HTML documents with code
examples or post code snippets on your blog, then this is the tool for
you. Take a look.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
using System;
namespace MyHtmlApp
{
/// <summary>
/// An example class illustrating the joy of CopySourceAsHtml.
/// </summary>
public class MyClass
{
private int _someVariable;
public MyClass()
{
_someVariable = 0;
}
public void SomeMethod()
{
_someVariable++;
}
public int SomeVariable
{
get { return _someVariable; }
set { _someVariable = value; }
}
}
}

Very nice. Highly recommended.