Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse plugin: AutoComplete as it should be

I have a problem, with multiple possible solutions.

I'm doing a Computer Sience study and I'm working as an intern at the moment. My assignment is to make a business application for Android & iOS. I've been working for 2 years with Visual studio 2010 now, Xcode is rather simular so that's no biggy, Eclipse on the other hand is not as what I'm used to, I'm not saying it's bad. I have enjoyed Eclipse so far but now i'm constantly using Xcode and Eclipse

Now hold on there before you answer! I know there is an autocomplete in Eclipse but it will only pop after you push Ctrl + Space or after one of the maximum of four Auto activition triggers is, well, triggered.

So my question is:

Is there any tool that does trigger auto complete after every keystroke or something? I tried looking at making my own Eclipse plugin but it was way to hard with zero knowlegde about the Eclipse API, although tutorials considering the Auto Complete features are welcome! (they should cover classes like ContentAssistCommandAdapter)

Thanks in advance!

like image 322
Jordy Langen Avatar asked Sep 19 '11 17:09

Jordy Langen


People also ask

How do I turn off autocomplete in eclipse?

Window -> Preferences -> Java -> Editor -> Content Assist -> Set Auto Activation Delay(ms) : 200ms from 0ms in my case. You may want to increase/decrease the value 200 depending on your typing speed.

How do I enable Content Assist in Eclipse?

To enable the Content Assist window to open automatically, go to the Content Assist Preferences page, accessed from Window | Preferences | PHP | Editor | Content Assist and mark the 'Enable auto-activation' checkbox.


1 Answers

The delay between keystroke and pop-up is configurable. So, as an alternative to a plug-in, you can adjust the autocomplete settings to pop-up after a shorter period of time, such as 1/10th of a second.

Eclipse preferences ->
  Java ->
    Editor ->
      Content Assist -> 
        Enable Auto Activation
        Auto activation delay (ms)

(showing Mac OX 10.6, running Eclipse "Indigo" release, but the option has been around forever):

enter image description here

like image 168
jefflunt Avatar answered Oct 17 '22 08:10

jefflunt