在eclipse中突出显示线条,就像一个textmarker一样 [英] Highlighting lines in eclipse, like with a textmarker

查看:174
本文介绍了在eclipse中突出显示线条,就像一个textmarker一样的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Eclipse Helios中,我想使用自定义背景颜色突出显示所选行,就像在纸上使用正常文本的文本标记一样。

In Eclipse Helios I want to highlight selected lines using a custom background color, like one would do with a text marker for normal text on paper.

去做?是否有(稳定的)Eclipse插件?

How can I do that? Is there a (stable) Eclipse plugin?

推荐答案

是的,有。至少作为一种解决方法。

Yes, there is. Atleast as a workaround.

将一行标记为书签;右键单击java编辑器中的行号字段,选择添加书签
转到首选项;一般 - 编辑 - 文本编辑器 - 注释。
选择表中的书签,选择高亮显示文字

Mark a line as a bookmark; Right click on the line number field in the java editor, choose "Add bookmark" The go to preferences; General - Editors - Text Editors - Annotations. Choose bookmarks in the table, select "Text as highlighted"

这篇关于在eclipse中突出显示线条,就像一个textmarker一样的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆