Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 326484 - Content Assist does not hint with function parameters
Summary: Content Assist does not hint with function parameters
Status: CLOSED WORKSFORME
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: PHP Core CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-29 02:42 EDT by Ronald Chan CLA
Modified: 2020-05-14 11:17 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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