|Autocomplete for PHP variables and methods [message #537188]
||Tue, 01 June 2010 11:03
Registered: June 2010
I'm really sorry if this has been answered elsewhere but I have been googling and searching on here for ages...
I am trying to use PDT 2 Helios (Build id: 20100506-2000) on Mac OSX 10.6 - this is intended as a replacement for my old PHP IDE - Zend Studio 5.5. I've got the standard PDT install and have added on RSE (Remote system Explorer).
I don't seem to be able to get Eclipse to do PHP variable name completion - e.g. I have a variable elsewhere on the script or an included script called for example $test_variable and I wanted to have Eclipse suggest "$test_variable" when I start typing e.g. "$tes". All Eclipse seems to do is complete built-in variables e.g. $_SERVER["REMOTE_HOST"].
Equally, I cannot get Eclipse to autocomplete my method names etc. Zend did a cracking job of this, even offering hints for the method parameters without needing to add comments to the method.
Am I missing something obvious? I read on a web page that I need to start a new project then change a setting on the project but I can't find any relevant settings.
Any help would be massively appreciated and apologies again if these questions have been answered elsewhere, if so, please point me in the right direction and i'll get to it.
[Updated on: Tue, 01 June 2010 11:04]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01714 seconds