Changing highlighting color in a theme from Eclipse color theme

前端 未结 2 1982
情话喂你
情话喂你 2021-02-14 18:09

I\'m using Eclipse Color Theme plugin and it works great. I have only one issue. Sometimes when Eclipse highlights fragments of code it just doesn\'t seem readable. For example

相关标签:
2条回答
  • 2021-02-14 18:31

    The annotation "Write Occurrences" is also important! (The bottom, not shown in the picture) Here you can set how the highlighting acts for the live Word Search (directly typing a word identical string are indeed highlighted by Eclipse to these highlights, it is so)

    0 讨论(0)
  • 2021-02-14 18:33

    You can adjust the highlight colors directly in Eclipse.


    On the right side of your code you see the color mark for the search results (red arrow).
    If you right-click on this mark the entry "Preferences" shows up.

    Screenshot of Code with higlights


    This will take you to the Preferences Dialog: General > Editors > Text Editors > Annotations

    Screenshot of Preferences Dialog

    If you adjust the colors for Occurences and Search Results this should do the trick for you.

    0 讨论(0)
提交回复
热议问题