intellisense and derived/nested classes

Question, why does the following code's intellisense not work as I would expect?

class IndexController extends Zend_Controller_Action
{
  public function indexAction()
  {
    $this->view->assign('title', 'Hello World!');
  }
}

I added Zend/Controller/Action.php as a user reference and I get intellisense on it, when I type $this-> view is in the list.. when I type $this->view-> there is nothing; it's as if the intellisense only goes one level deep or something? This happens in all cases, not just this contrived example. Am I doing something wrong?

Best regards,

JD Smith

Comments

    For this to work there needs

    For this to work there needs to be a PhpDoc comment to tell that view is of the specific type. Is that the case on Zend/Controller/Action.php?

    /** * View object

    /**
    * View object
    * @var Zend_View_Interface
    */
    public $view;

    So it appears that the class does indeed have an entry for the $view object in the phpdoc so shouldn't $this->view-> then have intellisense? Zend_View_Interface is in my References list

    Best regards,

    JD Smith
    Programmer
    Integrated Network Solutions

    Yes, as long as

    Yes, as long as Zend_View_Interface is available in intellisense via one of the following:

    - Defined in this file
    - Include via require or include statements
    - Included via user references

    That's my point... it's not

    That's my point... it's not working; I have added it as a reference. Same problem exists in my other post in this forum relating to ZF.

    Best regards,

    JD Smith
    Programmer
    Integrated Network Solutions

    Ok. If you have a sample

    Ok. If you have a sample project you can share with me, I'll take a look and if I can repro it, I'll fix it for you.

    example

    Do you have an example of that PHPDoc code? For example where would it go? Do you use @return or @property or something else? Thanks.

    This is a very simple

    This is a very simple tutorial on PhpDoc:

    http://www.jcxsoftware.com/jcx/vsphp/tutorials/phpdoc_intellisense

    Let me know if it answers your question.

    I have the same issue, but

    I have the same issue, but not only nested items. I have for example:

    /**
    * Current Test
    * @var TestResponse;
    */
    private $curtest;

    but within a member function $this->curtest-> provides no intellisense.

    CLARIFICATION:

    I just realized if I begin typing a method of TestResponse after $this->curtest-> I do begin to get an intellisense list, but it doesn't come up on its own, and ctrl+space gives me a generic list.

    The next 2.5 build will have

    The next 2.5 build will have a fix for this.

    http://www.jcxsoftware.com/jcx/vsphp/beta