开发者

Is there a way to add a delay to eclipse tooltips?

I've found this article about using the shift key to make the tooltips popup when you want them to. This works ok, but I was wondering if there is a way to just add a delay to the tooltip. I like the default hover behavior, it's just a bit too e开发者_高级运维ager on the display. I'm using Helios on Windows.


Excellent question!

There doesn't appear to be a control in Eclipse to do it, but these two blog entries:

  • http://untamedmind.wordpress.com/2008/11/08/changing-the-mousehovertime-add-delay-on-the-tooltips-pop-up/
  • http://dandar3.blogspot.com/2008/09/tooltip-delay-in-windows.html

both say it can be done in the windows registry. Caveat: I have not tried this.


Eclipse tooltip delay is derived from Windows, so if you change the delay of windows by editing registory it will show delay on eclipse as well.

In Windows -> Start -> Run -> regedit.exe

Go to below path in registry.

HKEY_CURRENT_USER/Control Panel/Mouse/

Modify value for Key MouseHoverTime

MouseHoverTime : 600

NOTE : The value is in miliseconds, for me it was 8 miliseoncds and I changed it to 600 miliseoncds.

System restart required after changing value in registry

OR

You can also assign shortcut key to get the tooltop when ever you want. Please refer below link

Link


I suggest to turn off hovers by default, and define a customKey in Eclipse->Preferences if necessary.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜