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 248884 - CC doesn't work on the second use trait statement
Summary: CC doesn't work on the second use trait statement
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords: 8.0_HR_FIX
: 258213 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-11-25 11:44 UTC by pchela.ilya
Modified: 2016-03-17 02:40 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Журнал среды IDE (402.61 KB, text/plain)
2014-11-25 11:44 UTC, pchela.ilya
Details
patch (19.74 KB, patch)
2016-03-16 04:30 UTC, junichi11
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description pchela.ilya 2014-11-25 11:44:07 UTC
Product Version = NetBeans IDE 8.0 (Build 201408251540)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.7.0_25
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.25-b01

if you have more then one trait inside class, second traid don't use autocomplete
for example
class BinList{
	use MockingTrait;
	use TestCrudHelpTrait;
}

trait TestCrudHelpTrait not showed in autocomplete.
Comment 1 pchela.ilya 2014-11-25 11:44:19 UTC
Created attachment 150686 [details]
Журнал среды IDE
Comment 2 junichi11 2016-03-14 04:55:21 UTC
*** Bug 258213 has been marked as a duplicate of this bug. ***
Comment 3 junichi11 2016-03-16 04:30:58 UTC
Created attachment 158883 [details]
patch
Comment 4 junichi11 2016-03-16 04:33:53 UTC
I've created a patch.

Tomas, Could you please review it when you can make time?

Thanks!
Comment 5 Tomas Mysik 2016-03-16 06:30:23 UTC
I will apply the patch, thanks a lot for it, Junichi!
Comment 6 Tomas Mysik 2016-03-16 07:15:22 UTC
Patch applied, thanks a lot Junichi!

http://hg.netbeans.org/web-main/rev/5ca5ba985d7e
Comment 7 Quality Engineering 2016-03-17 02:40:31 UTC
Integrated into 'main-silver', will be available in build *201603170001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/5ca5ba985d7e
User: Tomas Mysik <tmysik@netbeans.org>
Log: #248884 - CC doesn't work on the second use trait statement

Patch contributed by junichi11@netbeans.org.