This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 147023

Summary: Manually force variable type for autocomplete
Product: php Reporter: tprochazka <tprochazka>
Component: EditorAssignee: Tomasz Slota <tslota>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description tprochazka 2008-09-12 05:56:54 UTC
Eclipse PDT has great ability to force type of variable.

Example
/* @var $a blog_PageLayout */
$a->

Autocomplete heuristic will be handle with $a as with instance of blog_PageLayout class.

This is very useful when I use reflection, when heuristic can't determine right class.

Maybe Netbeans use different hint declaration. But I don't know them. But I think, that will be better support also 
this, for compatibility in team which use Eclipse PDT.
Comment 1 Tomasz Slota 2008-09-12 08:34:24 UTC


*** This issue has been marked as a duplicate of 146248 ***