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

Summary: Provide a functionality to assing a type for a variable
Product: php Reporter: Petr Pisl <ppisl>
Component: EditorAssignee: rmatous <rmatous>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: TASK Exception Reporter:

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)