NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Code Completion for array elements
Veteran

Joined: 28 Nov 2005
Posts: 144
Reply with quote
is it possible to have code completion for array variables?

eg: when I type
$_SERVER['
i'd like to have the complete list of the standard variable names like HTTP_HOST, SERVER_NAME...

same thing for if I write:
$test = array('xxx' => 1, 'yyy' => 2);

when I type
echo $test[
I would like to have a list of all the "known" elements of the array $test.

Possible to have this?
View user's profileFind all posts by blackSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8350
Reply with quote
It would require some researches Smile
If you have further ideas on what could be improved and/or made better, lay them on me via Contact Us page, or through email if you know.
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 08 May 2006
Posts: 1
Location: Calgary
Reply with quote
Any update on this request? This is the only thing Zend has that I'm missing in PhpED and it is very useful for me, especially $GLOBALS. Example: in an included file I have
Code:
$_config_abc = '123'
then when I'm typing in some other file
Code:
$GLOBALS['_c
autocomplete pops up with _config_abc and every other global scope var starting with _c

Thanks
View user's profileFind all posts by jadeonlySend private message
Veteran

Joined: 22 Feb 2006
Posts: 106
Reply with quote
I think this request should be a top priority, that's really the only thing that lacks in PhpED.

I hope that you, guys from the awsome Nusphere developpment Team, will be able to implement it, very soon.

As for the "Find Declaration" function, I hope that it'll also be able to take into account functions coming from objects in arrays.

For example, when dealing with a session object, it would be great to find the declaration of the members functions related.
Ex: $_SESSION['obj']->Display();

If had only one wish for PhpEd, it would be this !

Thanks in advance and good luck (I know it sounds like a hard job to complete).
View user's profileFind all posts by medifirstSend private message
Code Completion for array elements
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic