Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 343728

Summary: Code completion does not work inside "inline" variable type comment
Product: z_Archived Reporter: sparrow Mising name <wrobel>
Component: PDTAssignee: PHP Core <php.core-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P1 CC: silviya, wywrzal
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description sparrow Mising name CLA 2011-04-25 09:55:38 EDT
Code completion does not work inside "inline" variable type comment.

E.g. $siteStructure = Zend_Registry::get('Zend_Navigation'); /* @var $siteStructure Zend_Navigation */

When I started to type /* @ as in the example above I would like to be suggested @var then the $siteStructure variable name and the class name...
Comment 1 Michal Niewrzal CLA 2016-06-02 05:56:06 EDT
CA works only in phpDoc comment but phpDoc comment can be used for variable type comment. See:

$siteStructure = Zend_Registry::get('Zend_Navigation'); 
/** @var Zend_Navigation $siteStructure */
Comment 2 Sylvia Tancheva CLA 2016-06-16 06:28:06 EDT
Right, verified for phpDoc. Closing
Comment 3 Sylvia Tancheva CLA 2016-06-16 06:36:47 EDT
Closed