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 - Manually force variable type for autocomplete
Summary: Manually force variable type for autocomplete
Status: RESOLVED DUPLICATE of bug 146248
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Tomasz Slota
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-12 05:56 UTC by tprochazka
Modified: 2008-09-12 08:34 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

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