Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要打印出学校的代码。我想保留netbeans的行号和它的自动着色。有我可以使用的插件吗?
如果你可以使用 html,你可以这样做:
打开你需要的文件 -> file-> Print to HTML ...-> 选择print to file或print to clipboard-> 勾选show linenumbers
file
Print to HTML ...
print to file
print to clipboard
show linenumbers
通过打印机打印:file->print ->自定义print options
print ->
print options