Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change the caret color in XCode?

Tags:

xcode

I want to change the caret blinking color in XCode, the default is black but now when I have a dark background I would rather have a white caret color.

Anyone that know how to change the caret color in XCode?

like image 716
Bobby Avatar asked Jul 21 '10 09:07

Bobby


2 Answers

In XCode 4 developer preview 2 you can set the caret color. Excellent! Go to Preferences -> Fonts & Colors and then change the "Cursor" color to the color you want.

like image 111
Bobby Avatar answered Oct 15 '22 21:10

Bobby


You can change your theme file, where is in ~/Library/Developer/Xcode/UserData/FontAndColorThemes/

The key DVTSourceTextInsertionPointColor means "Cursor color"

like this: DVTSourceTextInsertionPointColor 1 1 1 1

like image 38
fansaien Avatar answered Oct 15 '22 20:10

fansaien