pdt icon indicating copy to clipboard operation
pdt copied to clipboard

Is this project dead? Can anyone recommend a similar PHP IDE for Linux?

Open rafal-1990 opened this issue 2 years ago • 4 comments

Hello, I wonder if this project is dead because PHP 8 is still not supported (and #95 is not really answered) after so long and in general there were no commits for a long time.

I assume, that the validation error Constant expression contains invalid operations in the following line appears because of missing PHP 8 support:

function formatDate($IntlDateFormatter=new IntlDateFormatter('de_DE',IntlDateFormatter::FULL,IntlDateFormatter::FULL,'Europe/Berlin',IntlDateFormatter::GREGORIAN)) {

This code works on my server with PHP 8.1 without problems, so the syntax is correct and I expect my IDE not to display errors that are not errors.

Therefore, I am now looking for another IDE for PHP development under Linux (preferably with few dependencies and available as a .deb package, Linux binary or Java-based). Can anyone recommend an alternative for Eclipse PDT (which supports the latest PHP version and is actively developed further)?

rafal-1990 avatar Sep 05 '22 15:09 rafal-1990

You can try netbeans.

troizet avatar Sep 06 '22 02:09 troizet

Visual Studio Code Brackets Komodo IDE bluefish Aptana Studio

ibakirov avatar Sep 07 '22 15:09 ibakirov

not dead, at least as long as I live ;)

anyway, due my personal changes, everything was postponed... but, because php8 become critical in my company, I'm trying to prepare at least basic support ASAP

zulus avatar Sep 13 '22 10:09 zulus

David, Glad to hear you're still working on PDT :) I'll try to help again, once you've posted some new code. It's been a long time since I've coded in Java now lol My personal and professional obligations have taken me to other horizons, but PDT remains one of the most interesting projects to which I have contributed :)

tbl0605 avatar Sep 13 '22 16:09 tbl0605

@zulus How's it going so far? I'm interested in the Parser part, if that part is done, can you commit it first? If not, I will try to implement it with your guidance.

nabice avatar Oct 10 '22 01:10 nabice

Sorry for not replying sooner.

@troizet Thanks for the tip with Netbeans. It actually makes a good impression, but what I don't like is that it takes about 830 MB of disk space. I already found the 580 MB of Eclipse with PDT quite large.

@ibakirov From your list, Komodo IDE looks like the best alternative. With about 254 MB it is even relatively small and the functions are actually sufficient for my purpose. What I don't like is that you have to register (even though it's free).

Before I move on to Netbeans or Komodo IDE, I think I'll wait for a new version of Eclipse PDT after all. It's nice to hear that the main developer is still interested in further development and I hope we can expect PHP 8 support soon.

rafal-1990 avatar Oct 13 '22 11:10 rafal-1990

@rafal-1990 There is always time to wait, but you may have to wait a very long time :)

ibakirov avatar Oct 13 '22 15:10 ibakirov

Write my code in eclipse with pdt huge amount of time. Hope we'll see pdt8 soon. @zulus do you have opencollective or something like that? Maybe PDT Community will be able to contribute financially

UPD: Sorry I saw I can support you on GitHub page

spider4216 avatar Oct 19 '22 04:10 spider4216

not dead, at least as long as I live ;)

anyway, due my personal changes, everything was postponed... but, because php8 become critical in my company, I'm trying to prepare at least basic support ASAP

I have followed this interesting thread for over a month now. For me, I feel the time is now - approximately one month until support of PHP7.4 ends. I have used Eclipse PDT since 2014, and I am super happy about the program! But… Now I am getting really worried about my PHP7.4 web application. The application is crucial for the International Medical Device business. (I perhaps can explain later...) Please, give me an advice. Is it urgent for me to abandon Eclipse PDT. Will there be a solution ready, and have a chance to adapt tested code to PHP8, within this timeframe?

Medelpunkten avatar Nov 02 '22 19:11 Medelpunkten

@Medelpunkten Honestly ... I would not expect any progress. I had to change IDE and I'm now on PhpStorm.

werc avatar Nov 24 '22 21:11 werc

I'm really stubborn and continue to use Eclipse, but as soon as I open a PHP 8 file, I'm forced to use it as a simple notepad because the parser doesn't understand the code anymore. Please @zulus, do you have at least some kind of deadline for PHP 8 support, or will I be forced to leave as well ? I love Eclipse and PDT, I really want it to continue to exist, and really want to continue to use it !

pounard avatar Dec 07 '22 10:12 pounard

I recently made some changes to the parser to support 8.0 and 8.1. https://github.com/nabice/pdt

But I don't know what to do next.

nabice avatar Dec 07 '22 10:12 nabice

Cool! I suppose it's working. Maybe it made a howto, how can others compile your fork and use it in their Eclipse. It will be helpful.

On Wed, Dec 7, 2022 at 11:18 AM nabice @.***> wrote:

I recently made some changes to the parser to support 8.0 and 8.1. https://github.com/nabice/pdt

But I don't know what to do next.

— Reply to this email directly, view it on GitHub https://github.com/eclipse/pdt/issues/141#issuecomment-1340710057, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOSNOBP2WW4XKUM243HAUTWMBQATANCNFSM6AAAAAAQFDDI7E . You are receiving this because you are subscribed to this thread.Message ID: @.***>

stanolacko avatar Dec 07 '22 11:12 stanolacko

MOAR ! @nabice very nice, I agree that a small tuto to compile the plugin would be a nice to have, I'd really love to test it.

pounard avatar Dec 07 '22 13:12 pounard

It's still far from complete. Only the part that converts the source code to AST is implemented. Others such as highlighting, type resolving, etc., I am not familiar with the project so I couldn't get it done.

nabice avatar Dec 07 '22 14:12 nabice

Believe me, also these changes can help those who need to work with PHP 8.x files in PDT.

On Wed, Dec 7, 2022 at 3:35 PM nabice @.***> wrote:

It's still far from complete. Only the part that converts the source code to AST is implemented. Others such as highlighting, type resolving, etc., I am not familiar with the project so I couldn't get it done.

— Reply to this email directly, view it on GitHub https://github.com/eclipse/pdt/issues/141#issuecomment-1341058093, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOSNOBUE3KQVTALRLPYELTWMCOELANCNFSM6AAAAAAQFDDI7E . You are receiving this because you commented.Message ID: @.***>

stanolacko avatar Dec 07 '22 14:12 stanolacko

It's still far from complete. Only the part that converts the source code to AST is implemented

That's already huge.

pounard avatar Dec 07 '22 14:12 pounard

Yes. I see, there were a lot of changes in 8.0 and 8.1.

On Wed, Dec 7, 2022 at 3:51 PM Pierre @.***> wrote:

It's still far from complete. Only the part that converts the source code to AST is implemented

That's already huge.

— Reply to this email directly, view it on GitHub https://github.com/eclipse/pdt/issues/141#issuecomment-1341079986, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOSNOER5INOZGLIMV2DJMDWMCP6PANCNFSM6AAAAAAQFDDI7E . You are receiving this because you commented.Message ID: @.***>

stanolacko avatar Dec 07 '22 17:12 stanolacko

But I don't know what to do next.

Next steps:

Sign the Eclipse Contributor Agreement and send a pull request.

waynebeaton avatar Dec 07 '22 18:12 waynebeaton