CopyAsHtml Add-in for VS – level 100
This is a very useful tool. Properly formatting code for a blog post has been a hassle up until now! This is great. A must-have tool. Great job Colin.
Here is an example of code copied directly from VS using this add-in.
private void WebForm1_Init(object sender, EventArgs e)
{
Trace.Write(“WebForm1_Init”);
}
private void WebForm1_Load(object sender, EventArgs e)
{
Trace.Write(“WebForm1_Load”);
}
private void WebForm1_PreRender(object sender, EventArgs e)
{
Trace.Write(“WebForm1_PreRender”);
}
private void WebForm1_Unload(object sender, EventArgs e)
{
Trace.Write(“WebForm1_Unload”);
}
Ah, cool! Thanks for the tip Jeffrey!
I tried it, but .Text editor doesnt allow <style> tag. can you pls inform..how you have pasted this code..
Make sure to select the option "embed styles"
CopyAsHTML won’t work with my german version of VS2005 standard at home but I love your tool. I use it at the institute very often for my documentations. We run english versions of VS2005 pro there.
Can you please add localization to your tool?
Many thanks in advance.
Rainer Hilmer