NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Code completion windows does not show qualifier of propertie
Veteran

Joined: 30 Nov 2006
Posts: 186
Reply with quote
Hi.

I just discovered that if you have a class with qualified properties, (public, Protected and Private) this is not shown in the code completion lookup window.

Take this class :

abstract Class bizEnum
{
/**
* @var Int - The integer value of the enum representation
*/
private $value = null;

/**
* @var String - Enum type (class name)
* @private
*/
private $enumName = '';

/**
* @var Mixed - An array of all labesl for the enum.
*/
private $label = array();
}

(I have only include a subset of the class here for illustration purpose)

All properties are declared private.

But in the code completion window the properties are all shown with a green icon and the text VAR, which is PHP4 style, and not PHP5 style

I think that it would be in place to have the icon or text illustrate how the property is qualified, (is it public private or protected).

See the attached image for clarification.


View user's profileFind all posts by hgrSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
yep, and it worked this way all the time Smile
I wonder why nobody suggested this little improvement before.

We implemented it and as always it will be available with the next build (5228)


_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Veteran

Joined: 30 Nov 2006
Posts: 186
Reply with quote
Fantastic. Smile
View user's profileFind all posts by hgrSend private message
Code completion windows does not show qualifier of propertie
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