Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Matching keyword highlight color in editor

Tags:

eclipse

I am using a clone of the wombat Vim color scheme in eclipse for Python development and it works well apart from the matching keyword highlight (whatever that is named), which is ffff96. This pale yellow makes it impossible to read the white foreground text. Anyone know where this is set?

like image 348
Paul Dorman Avatar asked Dec 07 '09 21:12

Paul Dorman


2 Answers

Oh! Found it! General->Editors->Text Editors->Annotations->Occurences(Pydev). Awesome. What a mess.

like image 175
Paul Dorman Avatar answered Oct 23 '22 01:10

Paul Dorman


Agree with Paul this is a mess; you have to know the name of what you're looking for in order to find it. Bleh. However, here are actual locations for the underlying settings strings (with thanks to Frederic):

In the file {Eclipse workspace directory}/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.editors.prefs :

Here are the python-specific and general text colors for matching keywords (they call it "Indication"):

pydevOccurrenceIndicationColor=106,105,146
occurrenceIndicationColor=97,97,97

Also, if you're looking for a specific value that you can find in the UI but not in a file you can change it in Eclipse to a known RGB value and grep for that in the .settings dir.

like image 2
coffeetocode Avatar answered Oct 23 '22 01:10

coffeetocode