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 246396 - NetBeans does not autocomplete static methods in a trait after typing "self::" or "static::"
Summary: NetBeans does not autocomplete static methods in a trait after typing "self::...
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal with 1 vote (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-12 04:34 UTC by TheTechFan
Modified: 2015-12-11 02:27 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Demonstrates the bug (543 bytes, application/octet-stream)
2014-08-12 04:36 UTC, TheTechFan
Details
patch (13.46 KB, patch)
2015-12-10 00:13 UTC, junichi11
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description TheTechFan 2014-08-12 04:34:09 UTC
Product Version = NetBeans IDE Dev (Build 201408090001)
Operating System = Windows 8 version 6.2 running on amd64
Java; VM; Vendor = 1.8.0_11
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.11-b03

See testcase.
Comment 1 TheTechFan 2014-08-12 04:36:14 UTC
Created attachment 148649 [details]
Demonstrates the bug
Comment 2 junichi11 2015-12-10 00:13:34 UTC
Created attachment 157740 [details]
patch

I've created a patch.
Comment 3 junichi11 2015-12-10 00:26:42 UTC
@Tomas, Could you please review it when the issue 253290 [1] is fixed because tests fail?

Thanks.

[1] https://netbeans.org/bugzilla/show_bug.cgi?id=253290
Comment 4 Tomas Mysik 2015-12-10 06:35:33 UTC
(In reply to junichi11 from comment #3)
> @Tomas, Could you please review it when the issue 253290 [1] is fixed
> because tests fail?

Will do that, thanks.
Comment 5 Tomas Mysik 2015-12-10 10:37:00 UTC
Patch applied, again, thanks a lot for your work, Junichi! I forgot to mention you in the commit message, sorry! :/

http://hg.netbeans.org/web-main/rev/35063ba31ae5
Comment 6 junichi11 2015-12-10 11:38:42 UTC
(In reply to Tomas Mysik from comment #5)
>I forgot to mention you in the commit message, sorry! :/

No problem :) Thanks a lot!
Comment 7 Quality Engineering 2015-12-11 02:27:41 UTC
Integrated into 'main-silver', will be available in build *201512110002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/35063ba31ae5
User: Tomas Mysik <tmysik@netbeans.org>
Log: #246396 - NetBeans does not autocomplete static methods in a trait after typing "self::" or "static::"