How to change the color of the currently selected line in a code assist popup in Eclipse?

假如想象 提交于 2019-12-04 10:09:49

问题


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.


回答1:


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!




回答2:


I know you're trying to change the highlight color, but if the problem is contrast you can change the content assist background color, and get this kind of contrast

The setting is General->Appearance->Color Basic->Content Assist Background

Then it's just a matter of finding colors that please you.




回答3:


Try Preferences->General->Appearance->Color and Fonts then find the appropriate category.

Some editors will have support for "Colored labels - match highlight"




回答4:


I was having the same issue and I've found a solution for windows XP. If you go to Control Panel -> Display -> Appearance -> Advanced and select 3D Objects under Item you can change the color of this highlight to a darker color.

However it does change the appearance of other parts of your windows.



来源:https://stackoverflow.com/questions/4402087/how-to-change-the-color-of-the-currently-selected-line-in-a-code-assist-popup-in

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!