Visual Studio has a plugin that allows one to copy code from any editor (C#, HTML, XML) and then paste it with HTML formatting that preserves the syntax highlighting, etc.
This is very handy for publishing code samples/examples to a wep page/blog. I have seen one old (2006?) plugin for java to html conversion, but are there any broader solutions similar to the Visual studio plugin.
Really what I am looking for is a way to select and copy a syntax-colored block of text in Eclipse and paste it as formatted html+css.
Does such a thing exist?
Eclipse based solutions
Use the Java2Html plugin (this is maybe the plugin you were referring to):
There is also the CodeSnippet plugin:
Non Eclipse based
Use the online Source Code Formatter for Blogger, Blogspot, Blog & Blogging, Format Formatting Tool: