如何使用netbeans 7.2.1复制和粘贴代码,颜色,保持行号

use*_*238 6 netbeans copy paste

我需要打印出学校代码.我想保留netbeans的行号和它所做的自动着色.我可以使用插头吗?

oll*_*llo 5

如果你可以使用html,你可以这样做:

打开你需要的文件 - > file- > Print to HTML ...- >选择print to fileprint to clipboard- >检查show linenumbers

通过打印机打印:file- > print ->自定义print options