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 中突出显示线条,例如使用文本标记
基础教程推荐
- REST Web 服务返回 415 - 不支持的媒体类型 2022-01-01
- 存储 20 位数字的数据类型 2022-01-01
- 无法复制:“比较方法违反了它的一般约定!" 2022-01-01
- 使用堆栈算法进行括号/括号匹配 2022-01-01
- RabbitMQ:消息保持“未确认"; 2022-01-01
- 问题http://apache.org/xml/features/xinclude测试日志4j 2 2022-01-01
- Spring AOP错误无法懒惰地为此建议构建thisJoinPoin 2022-09-13
- Struts2 URL 无法访问 2022-01-01
- 如何对 Java Hashmap 中的值求和 2022-01-01
- 修改 void 函数的输入参数,然后读取 2022-01-01
