/**
* Type comment
*/
public class Test3 {
public static void main(String[] args) {
// Some comments
System.out.println("Java2Html test");
}
}
I had to manually remove the <br /> elements as they caused empty lines and obviously I had to remove the html head, body, etc. I also got rid of the table and the div that were generated. Although I made these manual changes afterwards, I still think it's a nice little plugin that'll save lots of time when you want to generate syntax highlighted code from within Eclipse. Obviously this isn't just handy for posting, but it would work great in JavaDoc comments as well (albeit not very readable in the comment itself of course ;-))
1 comment:
Hey this is something I wished a long. Have a look at Syntax Highlighter at http://qbnz.com/highlighter/. wikipedia uses it a lot... But still Java2Html is very handy...
Post a Comment