/egilh

Learning by doing

Visual Studio plugin to copy source code as html

Posted on Friday, October 22, 2004 5:50 PM

A great little time saver; the CopySourceAsHtml plugin for Visual Studio makes it possible to copy html formatted source code to your blog without cutting and pasting it via Word.

Pasted via CopySourceAsHtml:

if (itWorks) 
{
    Console.WriteLine("Cool Or What?");
}

Word is better from one point of view though: I can paste the code directly in the .Text edit window. With the plugin I have to go to the html source and paste the code in the correct place. OK for small posts like this but a bit of a pain in larger posts like the one on accessing the Pocket Outlook from .NET CF 1.0

Via [PowerToys]




Feel free to drop a few cents in the tip jar if this post saved you time and money

Feedback

# Blog properly formatted code from Visual Studio 2005

11/1/2005 7:18 PM by /egilh

Jeff Atwood has created a great macro for Visual Studio 2005 that allows you to cut and paste code like it should be done. It even removes unnecessary white space!


Post Comment
Title
 

Name
 

Url

Protected by Clearscreen.SharpHIPEnter the code you see:
Comment