Search code examples
htmleclipsenetbeanseclipse-pluginsyntax-highlighting

Netbeans has "Print to HTML" - is there a way to add this feature to Eclipse?


I want to print out some syntax-highlighted Ruby and Python code and Netbeans has a feature on the File menu for "Print To HTML". I'm wondering if there is a plugin or some add-on for Eclipse that enables a feature like this since it is my preferred IDE?


Solution

  • You could install the Java2Html plugin, however it does not directly send it to a printer. Only to a clipboard or to a file (html or .doc since it can apply those styles in RTF as well as CSS). You can then print the result.

    The plugin is made for eclipse2.x.

    I just tested it with eclipse 3.5Mx (latest eclipse)... and it does work!


    (source: java2html.de)