I am new to Eclipse and I want to know if it's possible to have the completion window open up automatically while I type (Visual Studio style) and not by clicking Ctrl + Space?
Asked
Active
Viewed 2.9k times
31
-
1Possible duplicate of [Auto code completion on Eclipse](http://stackoverflow.com/questions/6202223/auto-code-completion-on-eclipse) – bummi Jan 18 '16 at 09:50
1 Answers
63
It is possible. You can simply write: .abcdefghijklmnopqrstuvwxyz
in Auto activation triggers for Java
field, under Preferences
> Java
> Editor
> Content Assist
.
While writing Java code, after the dot .
the window opens automatically after a configurable amount of time (default is 200 ms.)
In general, what you can do is add an auto activation trigger, for example _
, so when you want the windows to popup, you type and delete that character (althought I don't think that's better than CTRL
+ SPACE
).

nbro
- 15,395
- 32
- 113
- 196

adrianboimvaser
- 2,651
- 1
- 22
- 30
-
9
-
-
1but this only for eclipse with java, i want it should be also in eclipse java-script there is only allowed to add 4 latter's, any idea? – Elye M. Sep 12 '12 at 19:54
-
5You can manually set the value for javascript(jsdt): .metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.wst.jsdt.ui.prefs, content_assist_autoactivation_triggers_java=._abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ – Michael Allan Jackson Oct 18 '12 at 00:07
-
-
@majgis It seems like the location for the JavaScript content assist triggers has changed. Do you know where it is in Juno? – stepanian Aug 03 '14 at 09:59