Open Amenel opened 7 years ago
Looks like documentation is outdated :/
Twig Eclipse Plugin until will be rewritten to Oxygen universal text editor, is synced with PDT because use some internal api, that now often changes. PDT 4.0 will work on Mars fine, (see https://wiki.eclipse.org/PDT/Target_Environment) but you have to add correct update site manually: https://wiki.eclipse.org/PDT/Installation
This is to report that the current release (2.0.1.201703151042) cannot be installed on the previous to last version of Eclipse, ie Mars 4.5.2.
Here is the report one can read in the Install window:
It seems like the Twig editor requires PDT 4.0, which, if I'm not mistaken, makes the editor incompatible with any version of Eclipse other than Neon and Oxygen.
If one tries to install the current PDT version (I've tried with 4.3.1), the installation goes through but then Mars gets stuck on the splash screen. I found out that this is because it enters a loop that produces this message in the logs: !ENTRY org.eclipse.dltk.core 4 4 2017-06-21 19:16:31.877 !MESSAGE Background Indexer Crash Recovery !STACK 0 java.lang.NoSuchMethodError: org.eclipse.core.runtime.ListenerList.iterator()Ljava/util/Iterator; at org.eclipse.dltk.core.search.indexing.IndexManager.notifyIdle(IndexManager.java:523) at org.eclipse.dltk.internal.core.search.processing.JobManager.run(JobManager.java:455) at java.lang.Thread.run(Thread.java:748)
Maybe that the PDT 4.0 dependency is an oversight? The readme currently states Indigo (3.7.2) as the minimal version.
Is it possible to install an older version of the Twig editor? I am stuck on Mars.2 because of the many regressions introduced by some rewriting in JSDT.