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

Bug 326484

Summary: Content Assist does not hint with function parameters
Product: z_Archived Reporter: Ronald Chan <ronald>
Component: PDTAssignee: PHP Core <php.core-inbox>
Status: CLOSED WORKSFORME QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Ronald Chan CLA 2010-09-29 02:42:06 EDT
Build Identifier: M20100909-0800

PHPDoc comments using @param to specify type of function parameter does not invoke content assist.

Workaround by specifying @var within function, but the workaround is redundant as @param has specified type.

Reproducible: Always

Steps to Reproduce:
/**
 * Description
 * @param classA $a
 * @param classB $b
 * @param classC $c
 */
public function xyz($a, $b, $c) {
 $a->| // content assist should invoke to show methods from classA but doesn't even when pressing CTRL+SPACE
}

Current workaround:

inline commenting with /* @var $a classA */
but since @param has specified type, this step should be redundant.
Comment 1 Ronald Chan CLA 2010-09-29 21:11:45 EDT
Update:

Content Assist does not automatically invoke, but upon pressing CTRL+SPACE it does