Skip to main content



      Home
Home » Language IDEs » PHP Development Tools (PDT) » PHP generics support in Eclipse
PHP generics support in Eclipse [message #1834958] Sun, 22 November 2020 07:22 Go to next message
Eclipse UserFriend
Hello,

I was looking for a sort of generics support (as for example known in Java world) for one of my PHP projects. I found medium.com/@ondrejmirtes/generics-in-php-using-phpdocs-14e7301953 (Sorry I am not allowed to link here yet) where in phpstorm it seems this is supported.

As this is only related to phpdoc, it is merely a thing of the IDE. Thus my question: Is there some support for something similar in Eclipse PDT or is there a plan for that?

If no: Where can I file a feature request? The Eclipse bug tracker does not allow to add a new "bug" and I am unsure if under github the issues are worked on.

Thank you
Christian
Re: PHP generics support in Eclipse [message #1837777 is a reply to message #1834958] Sat, 06 February 2021 02:11 Go to previous messageGo to next message
Eclipse UserFriend
I'm currently evaluating eclipse after using textmate for all my development for many years. what i miss in eclipse and what I can't find any solution for are some kind of generic templates:

I'm using PDT for my JavaScript and PHP development, and it supports code-templates. however , in my projects I'm writing large amounts of shell-scripts, yml-configuration-files, xml-files, gnu make scripts, etc., too. I'm writing source-documentation for all these scripts using a generic syntax (similar to robodoc) and you can save much time, when you can insert the doc-blocks using templates. however, besides PDT not all of the editor-plugins support templates.

Is there some generic way of storing code-snippets/templates in eclipse, which will work across all editor-plugins? I think it should be possible to implement such using eclipse monkey -- however, it seems development of monkey was stopped?

I'm using Eclipse 3.4.0.
Re: PHP generics support in Eclipse [message #1837779 is a reply to message #1837777] Sat, 06 February 2021 03:04 Go to previous messageGo to next message
Eclipse UserFriend
3.4.0 was released in 2014. You should upgrade.

Still, even that release can have the "WST Common UI" feature installed and make use of the Snippets View (you likely already have it installed).

https://help.eclipse.org/2020-12/topic/org.eclipse.wst.sse.doc.user/topics/csrcedt001.html?cp=93_2_0_0_8_0

[Updated on: Sat, 06 February 2021 03:07] by Moderator

Re: PHP generics support in Eclipse [message #1839080 is a reply to message #1837779] Fri, 12 March 2021 10:08 Go to previous messageGo to next message
Eclipse UserFriend
you can hire a good php specialist at onbenchhttps://onbench.de/
Re: PHP generics support in Eclipse [message #1841467 is a reply to message #1839080] Mon, 17 May 2021 21:15 Go to previous message
Eclipse UserFriend
alright, i'll check them out. But this https://help.eclipse.org/2020-12/topic/org.eclipse.wst.sse.doc.user/topics/csrcedt001.html?cp=93_2_0_0_8_0 is actually helpful
Previous Topic:PHP project creation fails
Next Topic:Xdebug CLI mode ?
Goto Forum:
  


Current Time: Tue May 13 16:22:49 EDT 2025

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

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

Back to the top