用于保存Java的Intellij IDEA插件 - > HTML?

时间:2023-01-17 12:01:22

Is there an IDEA plugin for pretty printing (or save/export) Java to syntax colored HTML? Failing that, what's your favorite web site for that?

是否有一个IDEA插件可以将Java打印(或保存/导出)到语法彩色HTML?如果做不到的话,你最喜欢的网站是什么?

EDIT: I have a Java program, I want to convert the source code to HTML so that I can display it on the web. As I will be making lots of edits to the source, it would be handy to be able to convert it directly to HTML within IDEA.

编辑:我有一个Java程序,我想将源代码转换为HTML,以便我可以在网上显示它。由于我将对源代码进行大量编辑,因此能够将其直接转换为IDEA中的HTML将非常方便。

2 个解决方案

#1


IntelliJ does this (well, v7 does). File|Export to html

IntelliJ做到了这一点(好吧,v7做到了)。文件|导出为html

#2


Found one: http://plugins.intellij.net/plugin/?id=3828

找到一个:http://plugins.intellij.net/plugin/?id = 3828

#1


IntelliJ does this (well, v7 does). File|Export to html

IntelliJ做到了这一点(好吧,v7做到了)。文件|导出为html

#2


Found one: http://plugins.intellij.net/plugin/?id=3828

找到一个:http://plugins.intellij.net/plugin/?id = 3828