Search code examples
eclipseeditorapplication-settings

Eclipse Neon: How to change color of selected line?


In Eclipse Neon for Java, I'd like to change the background color of the selected line. I've tried Preferences > General > Appearance > Colors and Fonts. But I can't find the setting for Selected Text Background.

I've also I've tried the suggestions here: 1: How to change the color of current line & text selection in eclipse (for Java)? But have had no luck.

Eclipse text editor screenshot


Solution

  • This did it for me and honestly, I can't believe I had missed it.

    Window - Preferences - General - Editors - Text Editors look toward the bottom and you will see it.

    https://www.eclipse.org/forums/index.php/t/869559/ credit to this guy