'How to get XML keyboard shortcuts working in maven POM editor?

The maven POM editor in the 2021-12 release seems to have changed (new syntax coloring).

E.g. Ctrl + Shift + C and Ctrl + Shift + F don't work anymore, which used to work, and are still working when I open the pom.xml with the default XML editor in Eclipse.

Package "Eclipse IDE for Enterprise Java and Web Developers", Windows 64-bit.



Solution 1:[1]

I have the same problem in Eclipse 2022-03 (4.23.0) with Ctrl + Shift + C.

Instead Ctrl + Shift + F works.

Eclipse IDE for Enterprise Java and Web Developers.

Solution 2:[2]

For formatting try to enable 'Language Servers' e.g.: enter image description here

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Matteo A. Sorrenti
Solution 2 embuc