Variable value not showing in Hover

General discussion on Zend Studio
Post Reply
iforumz
Posts: 5
Joined: Sat Jun 13, 2009 10:57 pm

Variable value not showing in Hover

Post by iforumz » Thu Aug 04, 2011 8:30 pm

Hi, I can see var. values when hovering over the variable. However, I cannot see them for class vars like $this->var. This used to work in 5.x version. I can also inspect, but that is not the point.

Thanks in advace.

gdvlive
Posts: 6
Joined: Sun Jul 05, 2009 11:25 am

Re: Variable value not showing in Hover

Post by gdvlive » Sun Aug 07, 2011 8:54 pm

Example:

Code: Select all

class Test {
    
    public $value = 30;
    
    public function checkIt() {
        return $this->value;
    }
    
}

$foo = new Test();
$bar = $foo->value; 
Do you mean that there's no variable value when you hover over $foo->value or $this->value in Test::checkIt()?

Have you already tried hovering with pressed ctrl key? There you get the (in this example on hovering $foo->value and $this->value) a popup with
public $value = 30;

Greetings,
markus

iforumz
Posts: 5
Joined: Sat Jun 13, 2009 10:57 pm

Re: Variable value not showing in Hover

Post by iforumz » Mon Aug 08, 2011 12:25 am

Thanks, Marcus.

I think in Version 5.x, it showed the value regardless of pressing control, and further it showed the value regarless of where hovering was on, the object name or the variable name. It seems that now pressing control is needed to see the value ( for $this-> ...). Must be a design decision.. thanks for the explanation.
steve

Post Reply