Is there a good tool available (preferably opensource or free) that will take C# or VB.NET source code, prettify it (format it consistintly) and convert it into HTML source code (so I can post it on the web)?
+1
A:
I think your question is already solved in: http://stackoverflow.com/questions/454853/pretty-print-colorize-c
backslash17
2009-04-30 22:24:42
+1
A:
You can use the code formatting tools in Visual Studio (CTRL+K+D by default) and any number of code to html tools.
Tom Anderson
2009-04-30 22:24:48
I highly recommend this as well. If you're working in a team at all, you really want to make sure everyone in the team uses the same tool to prettify. Because it's built in, and it's quite nice, this is a great recommendation.
aronchick
2009-05-01 00:09:13