Eclipse PDT Autocomplete

Abenil picture Abenil · Apr 27, 2010 · Viewed 12.6k times · Source

I have tried for several days now to get autocomplete working.

I have a clean install of Eclipse PDT and another with plugins like aptana and subversion, but neither works with autocomplete.

What do I have to do to get autocomplete working? Do i need some shortcut for this? In Netbeans it is working without a shortcut...and this video looks like its working in eclipse too.

Thanks for any hints and help ;)

Answer

hendepher picture hendepher · Apr 27, 2010

For me, when using PDT, when I begin to type a variable, I can do Ctrl-space and I get a list of matching defined variables in my code. I believe you can get the list automatically. If you go Window » Preferences, then find PHP in the left column. Expand PHP, expand Editor, and select Code Assist. I believe Auto Activation is the option to pop up the autocomplete automatically.