Abenil Abenil - 5 months ago 39
PHP Question

Eclipse PDT Autocomplete

Hey Guys,
this sounds a bit stupid, but i try for several days now to get autocomplete working. i have a clean install of pdt and one with plugins like aptana and subversion, but none works with autocomplete. what do i have to do that i get a list with all functions, variables, etc beginning with "str" for example when i type "str"? Do i need some shortcut for this? In Netbeans it is working without shortcuts...and this video looks like its working in eclipse too.
link text

Thanks for any hints and help ;)


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.