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 145692 - CC doesn't offer elements of field, which has defined type in PHPDoc
Summary: CC doesn't offer elements of field, which has defined type in PHPDoc
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Tomasz Slota
URL:
Keywords:
: 144325 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-08-30 17:42 UTC by Petr Pisl
Modified: 2008-09-10 13:50 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Pisl 2008-08-30 17:42:04 UTC
For example:
<?php
class Address {
    public $street;
    public $city;
}

class Person {
    /**
     *
     * @var Address
     */
    private $address;
    
    function getCity() {
        $this->address->|;
    }
}
?>

The cc should offer street and city at the position marked with '|';
Comment 1 Tomasz Slota 2008-09-01 08:57:26 UTC
confirmed, related to issue 144325
Comment 2 Tomasz Slota 2008-09-02 16:03:30 UTC
Fixed.

http://hg.netbeans.org/main/rev/22344141f086
Comment 3 Quality Engineering 2008-09-03 17:29:32 UTC
Integrated into 'main-golden', will be available in build *200809031401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/22344141f086
User: Tomasz Slota <tslota@netbeans.org>
Log: #145692: CC doesn't offer elements of field, which has defined type in PHPDoc
Comment 4 Tomasz Slota 2008-09-10 13:50:37 UTC
*** Issue 144325 has been marked as a duplicate of this issue. ***