Eclipse Papercut #14 Reduce delay in code completion

This is a fast preference settings tip. As you may know Eclipse triggers code completion for methods, fields and more. For example if you type the name of an object and a “.”, Eclipse offers via code completion the fitting methods and fields.

The current default value for triggering code completion is set to 200 ms, which is longer than in other IDEs, the most popular alternative one, uses a delay of zero. You can reduce this value to a lower one, for example I set it to “40” which feels really good to me.

To set this value, use Window -> Preferences -> Java -> Editor -> Content Assists and set the “Auto activation delay (ms) to the new value.

Preferences _001

I hope this helps.

About Lars Vogel

Lars Vogel is the founder and CEO of the vogella GmbH and works as Eclipse and Android consultant, trainer and book author. He is a regular speaker at international conferences, He is the primary author of vogella.com. With more than one million visitors per month this website is one of the central sources for Java, Eclipse and Android programming information.
This entry was posted in Eclipse, Lars Vogel, Papercut. Bookmark the permalink.

2 Responses to Eclipse Papercut #14 Reduce delay in code completion

  1. Patrick Schriner says:

    Wow. Thanks!

  2. This is great. The next step is to get content assist appearing automatically when you type (ie- so that you don’t need to do CTRL+space or type a ‘.’). I set my auto-activation triggers to be:
    .abcdefghijklmnopqrstuvwxyz

    I left out capital letters in order to avoid most searching for type names, which seems to help a little with performance.

Comments are closed.