The original ecology of Ubuntu under the Eclipse Code hint box background color is a black background, the foreground color is white, so it looks particularly uncomfortable, it is difficult to discern the clear, so query the data want to modify the look under Windows. By checking the data, it is not successful to modify the settings in Eclipse, and it is necessary to modify the Ubuntu theme to solve this problem.
The color of the original code hint box is:
This can be known, it is difficult to see, after adjustment, the color background is:
The steps to modify are:
1, open/USR/SHARE/THEMES/AMBIANCE/GTK-2.0/GTKRC
This step must have read and write permissions for the file, and you can open the file by following this command:
2, modify the three parameter values inside
1 tooltip_fg_color: #000000 2tooltip_bg_color: #f2edbc 3 base[active] = Shade (1.05, @selected_bg_color)
3, open the system settings--appearance--theme, select one of the themes, and then change back to the original default theme, Eclipse color background is changed!