Tagged: PHP
- This topic has 7 replies, 2 voices, and was last updated 11 months, 3 weeks ago by
Brian Fernandes.
-
AuthorPosts
-
I have successfully upgraded my MyEclipse to 2024.1.0 and PDT (PHP Development Tools) to 8.0.0.
Unfortunately, I no longer have PHP code color syntax (see screen copy attached).
What do I need to do to get it back?
Attachments:
You must be logged in to view attached files.June 19, 2024 at 11:25 am #701513
Brian FernandesModeratorEric,
I believe you will need a more recent PDT version – 8.0.0 was released around a year ago and probably won’t work too well with Eclipse 2024-03. I see version 8.3 that’s compatible with this version of MyEclipse, can you update / install this?
June 20, 2024 at 5:22 am #701528Hi Brian, I have installed PDT 8.3 but so far this has no impact, see attached screen copy.
Maybe I need to reset some settings somewhere, which have been lost during the migration to MyEclipse 2024?
I also created a new PHP project. Same issue, no syntax highlighting.
Attachments:
You must be logged in to view attached files.June 24, 2024 at 2:11 pm #701576
Brian FernandesModeratorEric,
We’ve been able to reproduce this locally and are actively investigating; will let you know as soon as we find something and have a fix/workaround.
Appreciate your patience!
June 25, 2024 at 8:29 am #701604Thanks Brian, keep me updated, meanwhile I will use Notepad++ for PHP.
June 25, 2024 at 1:44 pm #701608
Brian FernandesModeratorEric,
The issue was caused by a change in how Eclipse manages content types. We thought we had covered these changes, but had not tested with tooling like PDT. Here’s a workaround:
1) Download this file named
com.genuitec.eclipse.aspphp.core_13.0.0.v202405290550-me.jar
2) Shut down MyEclipse
3) In your [MyEclipse installation]/plugins folder find the file with the same name as the above, replace it with the one you just downloaded. You can make a backup of the original file.
4) Start MyEclipse with the
-clean
argument. You can either start MyEclipse from the command line withmyeclipse -clean
or edit themyeclipse.ini
file and add-clean
on the first line, which you an remove after starting once with this argument.The PHP editor should now be up and running.
We’ll be including a fix for this in our next release of course, but hopefully this works for you immediately, do let us know.
June 27, 2024 at 5:12 am #701635Brian,
I followed your instructions and it works nicely, the PHP editor is indeed up and running.
Thank you so much for being able to solve this so quickly.
June 27, 2024 at 9:42 am #701643
Brian FernandesModeratorEric,
The thought you coding in Notepad++ made us work faster 🙂 Glad to know it’s working!
-
AuthorPosts