Highlighting lines in eclipse, like with a textmarker(在 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"
这篇关于在 Eclipse 中突出显示线条,例如使用文本标记的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:在 Eclipse 中突出显示线条,例如使用文本标记


基础教程推荐
- 从 python 访问 JVM 2022-01-01
- Java 实例变量在两个语句中声明和初始化 2022-01-01
- 如何在 Spring @Value 注解中正确指定默认值? 2022-01-01
- 在 Java 中创建日期的正确方法是什么? 2022-01-01
- 大摇大摆的枚举 2022-01-01
- 如何在 JFrame 中覆盖 windowsClosing 事件 2022-01-01
- 多个组件的复杂布局 2022-01-01
- 不推荐使用 Api 注释的描述 2022-01-01
- Java Swing计时器未清除 2022-01-01
- 验证是否调用了所有 getter 方法 2022-01-01