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

2023-08-22Java开发问题
13

本文介绍了在 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 中突出显示线条,例如使用文本标记的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

The End

相关推荐

如何使用 JAVA 向 COM PORT 发送数据?
How to send data to COM PORT using JAVA?(如何使用 JAVA 向 COM PORT 发送数据?)...
2024-08-25 Java开发问题
21

在 Eclipse 项目中使用西里尔文 .properties 文件
Use cyrillic .properties file in eclipse project(在 Eclipse 项目中使用西里尔文 .properties 文件)...
2024-08-25 Java开发问题
18

Eclipse 在尝试启动 Android 应用程序时卡住了
Eclipse gets stuck when trying to launch Android app(Eclipse 在尝试启动 Android 应用程序时卡住了)...
2024-08-25 Java开发问题
14

Java 代表?
Java Delegates?(Java 代表?)...
2024-08-25 Java开发问题
15

Eclipse:无法初始化监视器线程:无法建立环回连接
Eclipse: Failed to initialize Monitor Thread: Unable to establish loopback connection(Eclipse:无法初始化监视器线程:无法建立环回连接)...
2024-08-25 Java开发问题
4

Eclipse-找不到JDK
Eclipse- JDK not found(Eclipse-找不到JDK)...
2024-08-25 Java开发问题
6