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)?
From stackoverflow
-
I think your question is already solved in: http://stackoverflow.com/questions/454853/pretty-print-colorize-c
-
You can use the code formatting tools in Visual Studio (CTRL+K+D by default) and any number of code to html tools.
http://manoli.net/csharpformat/
aronchick : 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.
0 comments:
Post a Comment