How to highlight current line in Eclipse

While viewing and editing a wall of text, it is useful to highlight the current line that the cursor lies in. This feature is in Eclipse and can be turned on easily:

  • Go to Window -> Preferences -> General -> Editors -> Text Editors. Enable the option named Highlight current line.

  • If you still do not see current line highlighted, then the highlight color might be set to white or the same as background color of your theme. Go to same place as above, at the bottom you can see Appearance color options. In that list, choose Current line highlight option and set its color to something you like.

Tried with: Eclipse Luna 4.4.1 and Ubuntu 14.04


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.