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 258299 - "Insert Code/Override & Implement Method" does not contain methods from abstract traits
Summary: "Insert Code/Override & Implement Method" does not contain methods from abstr...
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-10 08:15 UTC by xprt64
Modified: 2016-06-02 10:38 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 xprt64 2016-03-10 08:15:59 UTC
Insert code menu, Override & Implement Method submenu should contain the abstract methods from traits.

This is how to reproduce:

<?php

class	TheClass
{
	use AbstractTrait;
	//ALT + INSERT here and chose Override & Implement Method
	
}

trait AbstractTrait
{
	abstract public function abstractFunction();
}


Screenshot: http://i.imgur.com/Q8xBkYQ.png
Comment 1 Tomas Mysik 2016-06-02 10:38:27 UTC
Should be fixed now, please verify. Thanks.

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