NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Code completion for arrays... (cont)


Joined: 26 Nov 2006
Posts: 1
Reply with quote
Following a previous topic about "Code completion for arrays..." (that got an answer when using foreach sentence), I'm wondering if there is any way to get code completion working fine when accessing an array element directly, like :

class MyClass {
function getId() {
}
}

$ar[0] = new MyClass();
$ar[0]->

here no code completion is available.
I tried several phpdoc tag but to no avail.
View user's profileFind all posts by dpalixSend private message
a little bump


Joined: 06 Apr 2007
Posts: 1
Location: Gdynia POLAND
Reply with quote
dpalix presented problem very clearly. How can Code Insight completion work in this situation? In my project I hold many objects in arrays and access them directly like

Code:

$simple_array = array();
$simple_array['here_is_object'] = new someClass();


$simple_array['here_is_object']-> // .... here should be CI suggestion from someClass properties and methods.

View user's profileFind all posts by grocalSend private message
Code completion for arrays... (cont)
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