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 242351 - Enable hinting multiple types when annotating with @var
Summary: Enable hinting multiple types when annotating with @var
Status: VERIFIED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Ondrej Brejla
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-26 07:55 UTC by serjoscha
Modified: 2014-04-24 12:27 UTC (History)
1 user (show)

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 serjoscha 2014-02-26 07:55:25 UTC
when writing something like this:

/* @var $foo ClassOne|InterfaceOne|InterfaceTwo */
$foo->

NetBeans will only show methods of the first annotated Element (ClassOne) on $foo.
It wont show methods of the Interfaces (InterfaceOne, InterfaceTwo) when hitting ctrl+space to see the code-auto-complete list.

There are several bugs in here describing nearly the same issue and are marked as fixed. But nothing seems to work to get the complete list of all methods in Version 7.4 anymore
Comment 1 Ondrej Brejla 2014-02-26 09:59:02 UTC
Fixed in web-main #be562aa1764f
Comment 2 serjoscha 2014-02-26 10:09:50 UTC
(In reply to Ondrej Brejla from comment #1)
> Fixed in web-main #be562aa1764f

Wow, impressing quick. 
Thanks.
I am not familiar with messages one leaves in Bugtrackers like bugzilla.
What does "Fixed in web-main #be562aa1764f" mean? When will this change be in
a downloadable version of NetBeans ?

Sorry for that :/
Comment 3 Ondrej Brejla 2014-02-26 10:11:37 UTC
You can download the dev build once QA writes here a comment that commit is in main repository. It will not be part of 8.0 stable version, but it's marked as a 8.0 patch 1 candidate.
Comment 4 Quality Engineering 2014-02-27 02:37:44 UTC
Integrated into 'main-silver', will be available in build *201402270001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/be562aa1764f
User: Ondrej Brejla <obrejla@netbeans.org>
Log: #242351 - Enable hinting multiple types when annotating with @var
Comment 5 mmolda 2014-03-06 10:56:06 UTC
Verified. Thanks for reporting.

Product Version: NetBeans IDE Dev (Build 201403060001)
Java: 1.8.0; Java HotSpot(TM) 64-Bit Server VM 25.0-b69
Runtime: Java(TM) SE Runtime Environment 1.8.0-b131
System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)
Comment 6 Ondrej Brejla 2014-04-18 10:53:54 UTC
Transplanted to release80 branch.
Comment 7 Quality Engineering 2014-04-24 02:13:01 UTC
Integrated into 'releases/release80', will be available in build *201404240045* or newer. Wait for official and publicly available build.

Changeset: http://hg.netbeans.org/releases/rev/f2e8c86003d9
User: Ondrej Brejla <obrejla@netbeans.org>
Log: #242351 - Enable hinting multiple types when annotating with @var
(transplanted from be562aa1764fe725b10692ba4d7b747e4fbf4991)
Comment 8 Vladimir Riha 2014-04-24 12:27:40 UTC
verified in patch1

Product Version: NetBeans IDE 8.0 (Build 201403101706)
Updates: NetBeans IDE is updated to version NetBeans 8.0 Patch 1
Java: 1.8.0_05; Java HotSpot(TM) Client VM 25.5-b02
Runtime: Java(TM) SE Runtime Environment 1.8.0_05-b13
System: Linux version 3.2.0-60-generic-pae running on i386; UTF-8; en_US (nb)