Closed StefanLindner closed 11 months ago
Thanks @StefanLindner for the bug report.
I can reproduce this with this additional error messages in the log which looks relevant:
!ENTRY org.eclipse.wst.sse.ui 2 2 2023-09-22 12:18:10.518
!MESSAGE StructuredTextEditor being used without StructuredDocument
!ENTRY org.eclipse.wst.sse.ui 2 2 2023-09-22 12:18:10.518
!MESSAGE Input Name: hello.html
!ENTRY org.eclipse.wst.sse.ui 2 2 2023-09-22 12:18:10.519
!MESSAGE Unexpected IDocumentProvider implementation: org.eclipse.ui.editors.text.TextFileDocumentProvider
!ENTRY org.eclipse.wst.sse.ui 2 2 2023-09-22 12:18:10.520
!MESSAGE Unexpected IDocument implementation: org.eclipse.core.internal.filebuffers.SynchronizableDocument
The problem appears to be a conflict between WWD and the Web Page Editor as if I uninstall WWD then the editor works.
So as a workaround (that works if you don't need WWD) is:
@nitind I assume there have been conflicts with WWD before - any idea where the best place for this bug to land is?
Unfortunately we can't rely on wild web developer because we use a combination of Java in the backend and TypeScript/Angular in the frontend. I think that in a preconfigured simultaneous release all components should harmonize with each other. Are we the first and only ones to run into this bug?
Well, no, see https://bugs.eclipse.org/582302 . A proper fix is going to be very time consuming to implement.
This is different error. Content-Type prioritization, everything depend to which plugin will be earlier registered.
I made some tests, and if WWD will change ContentType priority to "low" (or WTP to high), both editors will work, because WWD can work on top of StructuredDocument ;)
--
Dawid Pakuła
On Sep 22 2023, at 9:40 PM, Nitin Dahyabhai @.***> wrote:
Well, no, see https://bugs.eclipse.org/582302 . I proper fix is going to be very time consuming to implement.
—
Reply to this email directly, view it on GitHub (https://github.com/eclipse-packaging/packages/issues/63#issuecomment-1731951175), or unsubscribe (https://github.com/notifications/unsubscribe-auth/AAEGBL4Z4JIDBKQWO2IJEITX3XSS3ANCNFSM6AAAAAA5DKBNAY).
You are receiving this because you are subscribed to this thread.
To be compatible with WTP SSE, we reduced content types priority (PR from above). You can test with recent WWD snapshot
Now everything works fine. Thank you so much!
I am using a fresh download of "Eclipse IDE for Enterprise Java and Web Developers" Windows 10 with Adoptium JDK 17
I try to open a html file with right mouse klick and chose "Web Page Editor". This results in a popup that diesplays "Unsupported Content Type".
After "OK" a Display-Tab opens with the following error message:
Opening HTML-files with the Web Page Editor works in 2023.03 It stopped working in 2023.06