Sunshine
Sunshine

Reputation: 181

How do I change text cursor color in Eclipse

How do I change the text cursor color in the Eclipse IDE for Windows?

I want to change only the color of the cursor, but I can`t find an option to do this. Is it possible? If so, how?

Upvotes: 7

Views: 11719

Answers (6)

JosephL
JosephL

Reputation: 1

This is a late reply. I am having the same problem and couldn't find anyway to fix it in eclipse.

Turns out that I can change the text selection icon in the Window setting. Search for Mouse properties and change the text selection to beam_i.cur. It gives me a much better contrast!

FYI, my system is win10.

Upvotes: 0

Niranjana
Niranjana

Reputation: 11

I can help you here. Its not in control of Eclipse, its the mouse's property. Navigate to Control Panel-> Select "Large Icons" from top right drop down->Mouse->Pointers->Text Select->Browse->Select an appropriate black thick pointer. Thanks

Upvotes: 1

FiruzzZ
FiruzzZ

Reputation: 826

Cursor color is implicitly changed when you set

Window -> Preferences -> General -> Editor -> TextEditors Current Line Highlight

Until today there is no way to set it independently (Eclipse Neon.1)

If you want a black background color like me, set this one with a custom RGB 30, 30, 30, and Current Line highlight BLACK (the cursor while turn White)

Upvotes: 0

TheParanoidAndroid
TheParanoidAndroid

Reputation: 9

Duffy356's answer is correct, but incomplete: the selection background color under the appearance color options appears to be the cursor color from my experience.

Window -> Preferences -> General -> Editor -> TextEditors: Change Line number foreground under Appearance color options

Upvotes: -1

Cartesian Theater
Cartesian Theater

Reputation: 1970

I couldn't find one just for the cursor when using Eclipse for PHP, but you might try changing the current line color to be a bit lighter/darker if you are having trouble seeing the cursor (ref: How to change the color of current line & text selection in eclipse (for Java)?, Cursor color in Eclipse 3.5/Zend Studio 7 on Mac OS X.)

Upvotes: 1

duffy356
duffy356

Reputation: 3718

You can find these settings in:

Window -> Preferences -> General -> Editor -> Text Editors: Appearance color options

AND

Window -> Preferences -> General -> Appearance-> Colors and Fonts: in the Basic Folder

Upvotes: 3

Related Questions