1

is it possible to set a timeout for the Eclipse function hint list?

Waiting for the full function list to load simply pisses me off...:(

Some Noob Student
  • 14,186
  • 13
  • 65
  • 103

2 Answers2

3

First, you can trigger the content assist immediately by hitting Ctrl-Space.

Second, you can set the delay under Window->Preferences->Java->Editor->Content Assist->Auto-Activation. Non-Java editors may have separate settings. You can type search terms on top of the prefence window to see all related settings.

Michael Borgwardt
  • 342,105
  • 78
  • 482
  • 720
  • I'm looking for more of a timeout setting, but +1 and thanks anyways! Cuz I sometimes regret calling content assist and wish the process could kill itself. – Some Noob Student Feb 28 '11 at 11:15
  • @Littledot: I'm not sure what you mean then, perhaps you should describe your problem in more detail. – Michael Borgwardt Feb 28 '11 at 11:17
  • When the function list pops out, my Eclipse simply hangs until the whole function list is finished processed. It takes about 10~20 seconds on the first call and 5~10 for any subsequent calls. This irritates me alot! So I am looking for a setting that could stop the processing of the whole function list - a timeout setting. – Some Noob Student Feb 28 '11 at 11:24
  • @Littledot: there's something wrong with your eclipse setup or your project then. Are you using the newest version? Do you see errors in the eclipse log file in .metadata? – Michael Borgwardt Feb 28 '11 at 11:34
  • My logs are filled with `org.eclipse.core.runtime.CoreException: Project target not loaded yet.` & `java.lang.IllegalArgumentException: Argument cannot be null` I'll check those out, thanks again! – Some Noob Student Feb 28 '11 at 11:40
  • Thank you so much for your insight! Fixed those nasty exceptions, now my Eclipse is smooth and slick! Thanks for teaching me to check .metadata! – Some Noob Student Mar 01 '11 at 06:10
1

I would like to add on this by pointing out that I was facing the same kind of issue in Eclipse Mars Version 4.5.0 M1.

I got this error :

error seen

I managed to solve it by disabling the following setting "Code Recommenders proposals" from Window\preferences\Java\Editor\Content Assist\Advanced

Disable it from both Default proposal kind and Content cycling . Restart eclipse , and the error is gone.

I don't know why this happens, or what the addon does. Maybe someone can elaborate on it.

CyprUS
  • 4,159
  • 9
  • 48
  • 93