2

When I hover some icon in Xcode I have to wait quite long for tooltip. How to reduce delay?

enter image description here

  • I don't think there's a way to change that. It could take a long time based on your machine, RAM, free space, etc. What have you already tried? – fsb Jun 28 '18 at 13:24
  • @fsb I've tired to find this option in Preferences. It looks like it doesn't exist. – Green Jun 28 '18 at 15:09
  • Maybe someone on SO site will know the answer. – fsb Jun 28 '18 at 15:23
  • @fsb, yep, already asked there stackoverflow.com/questions/51083443/… – Green Jun 29 '18 at 8:38
2

Tooltip delays can be adjusted globally from the command line. To reduce it to one millisecond (1/1000 second), fire up Terminal and enter:

defaults write -g NSInitialToolTipDelay -int 1

To only affect Xcode, tell the defaults command to only alter that value in the Xcode preferences domain, rather than setting it globally:

defaults write com.apple.dt.Xcode NSInitialToolTipDelay -int 1

I believe if you're running version 5 (?) or earlier of Xcode, the domain used to just be com.apple.Xcode , so:

defaults write com.apple.Xcode NSInitialToolTipDelay -int 1

If I am missing some other prefs domain they've used, this command will show the top contenders:

defaults domains | tr -s ', ' '\n' | grep -i 'xcode'

To reset anything you've changed, just run the same command above you used to shorten it, but change the 1 on the end to the "factory default" setting of 1000 (1000 milliseconds = 1 second), e.g.

defaults write com.apple.dt.Xcode NSInitialToolTipDelay -int 1000

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .