在 Eclipse 中突出显示线条,例如使用文本标记

2022-01-16 00:00:00 eclipse-plugin eclipse

在 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"

相关文章