-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
POM Editor formatting and code completion doesn't work #1907
Comments
Thanks for reporting. |
I noticed that it works to first select all (STRG+SHIFT+A) the format (STRG+SHIFT+F) looks like an issue of WWD/lemminx to me. |
@mickaelistria Re:
I am interested and I know about Eclipse's plug-in architecture in principle. However, I'm not familiar with Eclipse's plug-in development in general and its IInterfaces in particular. So I have no clue how I could check for the behavior described above in If it helps I can put the |
@laeubi Usually the default for Select All is Ctrl+A. Anyway, Ctrl+A > Ctrl+Shift+F doesn't work here in POM Editor. @mickaelistria Formatting of If I open my |
Can you please share a screenshot of the editor you're using? The "XML Editor" is most likely the WTP one. |
@mickaelistria With Generic Code Editor formatting and code completion don't work. But that's fine. Generic doesn't know anything about XML element hierarchy or POM elements. |
The WTP-based editor and the Generic Editor look different by default. A screenshot would help in ensure which text editor is being used by the pom editor. But according to your feedback, it seems like the Generic Editor that's being used (so the screenshot is not useful anymore).
With m2e properly configured, the Generic Code Editor is fully capable of handling XML and pom files. So the fact that it doesn't work is related. I cannot tell whether the Spring Boot Language Server could be harming. |
Is this a configuration I can change (or "destroy", for that matter)?
Plain XML ( Do you want me to check more combinations of:
And it becomes even more weird: There's no |
And does that last one contain a potentially related stacktrace ? |
Now there is a
This is a workspace I copied from a prior one (which was created by Eclipse on Windows) and it has been upgraded to the current Eclipse version at first opening. |
Have you tried opening an xml file with the generic editor in this new upgraded instance? If we're lucky, doing so should populate the log with useful stack traces. |
I've always been working with this upgraded workspace since creating this issue report (and before). I closed Eclipse, started it again, |
Neither
(see No 'Source' menu item when POM Editor has the focus #1908).
Update: Code completion doesn't work either. When typing a ‚<‘ no drop-down with possible XML tags is shown.
Happens with:
Linux 6.1.0-28-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.119-1 (2024-11-22) x86_64 GNU/Linux
Operating System: Debian GNU/Linux 12
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 6.1.0-28-amd64 (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-6700 CPU @ 3.40GHz
Memory: 15,6 GiB of RAM
Graphics Processor: NV124
Manufacturer: XMG
Product Name: P7xxDM(-G)
System Version: Not Applicable
After
$ sudo apt full-upgrade
,Last updates today (if that matters):
and Eclipse > Help > Check for updates > No updates found.
Eclipse IDE for Enterprise Java and Web Developers (includes Incubating components)
Version: 2024-12 (4.34.0)
Build id: 20241128-0757
Preferences > Language Servers >:
Deactivating both or either of them doesn't change anything to the better.
Preferences > Language Servers > Logs >:
show nothing in the Console on Ctrl+Shift+F.
Plug-ins:
This also has a history of regressions:
The text was updated successfully, but these errors were encountered: