Reputation: 29113
I've tried looking in Java->Editor, General->Appearance->Colors And Fonts, General->Editors->Text Editors->Annotations, but couldn't find it
Upvotes: 59
Views: 48596
Reputation: 615
I had to spend an inordinate amount of time searching for an answer to this question. Here is a picture of the Preferences from the 2019-03 JavaEE bundle showing which selection is for changing the background color of text you have selected with your mouse in the editor. This is totally different from the Occurrences that people keep pointing out.
Upvotes: 2
Reputation: 326
Instead of changing every color individually I solved launching eclipse with the parameter "--launcher.GTK_version 2" This solved the tooltips, the selected text and the selected items problems at once!
It has been suggested here: https://stackoverflow.com/a/41482138/6465697
Upvotes: 0
Reputation: 1
To change the color of current selected line background, follow these steps Eclipse-- In Eclipse: go to Windows -> preference-> General -> Editors -> Text Editors ->Appearance color options ->Selection Background Color
&&
To change the color of current selected lines(TEXT), follow these steps Eclipse-- In Eclipse: go to Windows -> preference-> General -> Editors -> Text Editors ->Appearance color options ->Selection foreground Color
&&
To change background color of eclipse In Eclipse: go to Windows -> preference-> General -> Editors -> Text Editors ->Appearance color options ->Background Color
Upvotes: 0
Reputation: 132
Eclipse Neon: Preferences > General > Editors > Text Editors - Appearance Color Options / Selection Background Color
Upvotes: 4
Reputation: 4415
Here you go : In Eclipse: go to Windows -> preference-> General -> Editors -> Text Editors -> Annotations -> Occurrences
Upvotes: 17
Reputation: 4239
In Eclipse Helios : General->Editors->Text Editors : Appearance color options. I always use type filter box in preference widows to check settings.
Upvotes: 5
Reputation: 1715
The one you are after are probably in General -> Editors -> Text Editors ===> Then Appearance Color options -> Current line highlight & Selection background
Upvotes: 128