用户登录
用户注册

分享至

如何在 Eclipse 的代码辅助弹出窗口中更改当前选定行的颜色?

  • 作者: 正宗卖男孩的小火柴
  • 来源: 51数据库
  • 2023-01-29

问题描述

我最近下载了 Eclipse 3.6,一切正常,但有一个问题让我非常沮丧.代码辅助弹出窗口中当前选定项目的突出显示颜色在白色背景下几乎不可见.我试图弄乱颜色设置,但似乎没有我需要的选项.Windows 配色方案中设置的线条高亮颜色仅用于在焦点弹出窗口中突出显示.

I've recently downloaded Eclipse 3.6, everything works fine, but there is one issue that really frustrates me. The highlight color of a currently selected item in a code assist popup is barely visible against white background. I've tried to mess with color settings, but it seems that there is no option for my needs. The line highlight color set in Windows color scheme is only used to highlight in a focused popup.

推荐答案

我相信它隐藏在 Preferences 的另一部分.我个人想更改突出显示或当前选择的线条颜色,但在颜色和字体中找不到任何内容.最后它在...

I believe it is hidden in another part of Preferences. I personally wanted to change the highlighted or currently selected line color, and could not find anything in Colors and Fonts. Ends up it was in...

常规 -> 编辑器 -> 文本编辑器

General -> Editors -> Text Editors

您只需要检查外观颜色选项"框中的每个选项.一个是当前行突出显示",它解决了我的问题.希望对你有帮助!

And you just need to go through every option in the "Appearance color options" box there. One is "Current line highlight" and that fixed my problem. I hope it helps yours!

软件
前端设计
程序设计
Java相关