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 269647 - Navigation to interface in phpDoc
Summary: Navigation to interface in phpDoc
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Navigation (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: junichi11
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-25 10:23 UTC by sknbf
Modified: 2017-04-21 09:53 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 sknbf 2017-01-25 10:23:26 UTC
Code navigation to interface not working when used in phpDoc @var or @return.
example for @return:
AAA.php:
<?php
class AAA
{
    /**
     * @return III
     */
    function f(){}
}
//EOF

III.php:
<?php
interface III{}
//EOF

After the "@return I" is typed the code completion dialog is opened (as expected) with III interface suggested (as expected). When done the ctrl+click on III in phpDoc _does not_ navigate to III interface.
Comment 1 sknbf 2017-01-25 12:08:54 UTC
The III.php file should be created first.
Comment 2 junichi11 2017-04-20 00:25:36 UTC
Fixed.

http://hg.netbeans.org/web-main/rev/ce779203a0bd

Thanks.
Comment 3 Quality Engineering 2017-04-21 02:52:24 UTC
Integrated into 'main-silver', will be available in build *201704210002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/ce779203a0bd
User: Junichi Yamamoto <junichi11@netbeans.org>
Log: #269647 - Navigation to interface in phpDoc
Comment 4 sknbf 2017-04-21 09:53:19 UTC
(In reply to junichi11 from comment #2)
> Fixed.
> 
> http://hg.netbeans.org/web-main/rev/ce779203a0bd
> 
> Thanks.

Thanks!