Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » How to generate unimplemented methods
How to generate unimplemented methods [message #1065994] Fri, 28 June 2013 17:12 Go to next message
steve sinclair is currently offline steve sinclairFriend
Messages: 3
Registered: June 2013
Junior Member
Hi all
I am new here and have just installed the PDT extension plugin for Kepler.

It's class and interface wizards are great but is there a way to generate unimplemented methods in classes created beforehand?

cheers
steve
Re: How to generate unimplemented methods [message #1066031 is a reply to message #1065994] Sat, 29 June 2013 07:40 Go to previous messageGo to next message
Toshihiro Izumi is currently offline Toshihiro IzumiFriend
Messages: 360
Registered: July 2009
Location: Japan
Senior Member
Do you mean PDT Eclipse Extensions - Features?
Re: How to generate unimplemented methods [message #1066035 is a reply to message #1066031] Sat, 29 June 2013 08:36 Go to previous messageGo to next message
steve sinclair is currently offline steve sinclairFriend
Messages: 3
Registered: June 2013
Junior Member
hi Toshihiro
That is exactly what i mean. I am not getting any warnings, errors etc and when I Ctrl+1 it gives no help.
I think I may be missing some dependencies which I am currently investigating. Any additional help would be appreciated.
Cheers
Steve
Re: How to generate unimplemented methods [message #1066049 is a reply to message #1066035] Sat, 29 June 2013 12:54 Go to previous messageGo to next message
Toshihiro Izumi is currently offline Toshihiro IzumiFriend
Messages: 360
Registered: July 2009
Location: Japan
Senior Member
Ah, it seems there is a bug in PDT Extensions.(I'm not using it) It works in a very simple case but not in some cases. (also, the preference page looks like have another problem)
It's better to report the bug against PDT Extensions team.(Not PDT)

Tested:
Eclipse Platform 4.3.0.I20130605-2000
PDT Extensions 0.16.1.201305301841
PHP Development Tools (PDT) 3.2.0.201306051924

working - just after doing quick-fix
index.php/fa/15415/0/
not working - with second file having same class name
index.php/fa/15416/0/
  • Attachment: working.png
    (Size: 65.55KB, Downloaded 1457 times)
  • Attachment: not_working.png
    (Size: 55.67KB, Downloaded 1069 times)

[Updated on: Sat, 29 June 2013 13:09]

Report message to a moderator

Re: How to generate unimplemented methods [message #1066056 is a reply to message #1066049] Sat, 29 June 2013 14:56 Go to previous message
steve sinclair is currently offline steve sinclairFriend
Messages: 3
Registered: June 2013
Junior Member
Hi Toshihiro
There is also a bug when implementing 2 interfaces with the same method names. It adds both sets therefore causing an ambiguous public interface.

I'll find out how to submit a bug report.

Strangely my initial concern was trying to add unimplemented methods from parent classes, rather than interfaces. I thought that the quick fix would do this...but it is not actually a feature. It is done, instead, from the good old code assist.

Anyway thanks for your help in clearing this up for me.

Cheers
Steve
Previous Topic:File Explorer - Display Error emblems
Next Topic:Console Output Does Not Appear
Goto Forum:
  


Current Time: Sat Nov 09 00:49:37 GMT 2024

Powered by FUDForum. Page generated in 0.03583 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top