打印/复制带有颜色突出显示的 LogCat 输出?
LogCat 的颜色突出显示输出信息非常丰富,有助于隔离问题。然而,有时我需要将其打印到纸张(或将其复制/粘贴到 OpenOffice.org Writer 文档)带有颜色!
有没有办法打印 LogCat输出时颜色突出显示? (或者至少复制/粘贴它而不丢失颜色信息)?
LogCat output in its color highlighting is very informative and helpful in isolating problems. Sometimes, however, I need to print it to paper (or copy/paste it to an OpenOffice.org Writer document) with the colors!
Is there a way to print LogCat output with the color highlighting? (or at least copy/paste it without losing the color information)?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我假设 LogCat 输出可以在 VIM IDE 中打开。我找到了这个链接 - http://vimdoc.sourceforge.net/htmldoc/usr_06.html# 06.5 讨论如何打印(以及颜色)。它还讨论了如何保存为 HTML。试试这个。可能有帮助。
Am assuming LogCat output can be opened in a VIM IDE. I found this link - http://vimdoc.sourceforge.net/htmldoc/usr_06.html#06.5 which talks about how to print (along with colors). It also talks about how to save to an HTML. Try this out. May help.
恐怕我没有在 Eclipse 中突出显示的解决方案,但如果您在 Debian 上使用 gedit,则可以使用 我写的这个语言荧光笔:
I'm afraid I don't have a solution for highlighting inside Eclipse, but if you're using gedit on Debian, you can use this language highlighter I wrote: