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 154513 - Provide a functionality to assing a type for a variable
Summary: Provide a functionality to assing a type for a variable
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: rmatous
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-03 17:10 UTC by Petr Pisl
Modified: 2009-05-11 10:30 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Pisl 2008-12-03 17:10:28 UTC
There should be a mechanism, which will allow to user assign a type to a variable and the editor then will threat with
the variable as it's defined with this type.

Something like:
/* @var $book BookClass */
$book->        Here the cc should offer the public elements from BookClass.

The form of the comment should be configurable.
Comment 1 rmatous 2009-05-11 10:30:38 UTC
Implemented (defect #159970)