Eclipse plugin: AutoComplete as it should be

10,344

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

Share:
10,344

Related videos on Youtube

Jordy Langen
Author by

Jordy Langen

Updated on June 04, 2022

Comments

  • Jordy Langen
    Jordy Langen almost 2 years

    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!

  • PherricOxide
    PherricOxide about 12 years
    Sweet, that's so much nicer than pressing ctrl+spacebar all the time.
  • jefflunt
    jefflunt about 12 years
    I guess I just got used to ctrl+spacebar. :)
  • Or Gal
    Or Gal over 11 years
    yeah!!! and i thought eclipse was lame... why dont they put that in the default. delay=50 and triggers = .abcdefg...z works great.
  • Admin
    Admin about 11 years
    Great, this is the one thing I couldn't stand in Eclipse. I may not have to switch to IDEA (which has bads than goods for me) thanks to you.
  • jefflunt
    jefflunt about 11 years
    @OrGal - Eclipse is an old codebase, and my guess as to why this isn't the default is because it's just been this way for years and years. Also, when Eclipse was new it was commonly running on machines that were <1GHz single-core processors, and auto-complete wasn't exactly the fastest thing in the world at the time, and therefore not always desirable.
  • saurabheights
    saurabheights over 8 years
    Copy it to your eclipse preferences: .abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ