Skip to content

format keybinding not working for pom.xml files anymore #1010

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
martinlippert opened this issue Mar 20, 2023 · 6 comments
Closed

format keybinding not working for pom.xml files anymore #1010

martinlippert opened this issue Mar 20, 2023 · 6 comments
Labels
for: eclipse something that is specific for Eclipse type: bug

Comments

@martinlippert
Copy link
Member

Extracted from #1008

XML (Maven POM) editor format action not working - When I press Command + Shift + F nothing happens.

@mtheiss
Copy link

mtheiss commented Mar 20, 2023

Installation of WWD from snapshot leads to same missing format option.

[2023-03-20 18:25:34] Repository https://download.eclipse.org/wildwebdeveloper/snapshots/
[2023-03-20 18:25:34] Repository https://download.eclipse.org/technology/epp/packages/2023-03/202303091200
[2023-03-20 18:25:34] Repository https://download.eclipse.org/releases/2023-03/202303151000
[2023-03-20 18:25:34] Repository https://download.eclipse.org/oomph/updates/milestone/latest
[2023-03-20 18:25:35] Calculating requirements and dependencies.
[2023-03-20 18:25:36] Computing prerequisite plan
[2023-03-20 18:25:40] Installing org.eclipse.lsp4e [0.16.0.202303141217]
[2023-03-20 18:25:40] Installing org.eclipse.lsp4e.debug [0.15.1.202302211021]
[2023-03-20 18:25:40] Installing org.eclipse.lsp4j [0.20.1.v20230228-1531]
[2023-03-20 18:25:40] Installing org.eclipse.lsp4j.debug [0.20.1.v20230228-1531]
[2023-03-20 18:25:40] Installing org.eclipse.lsp4j.jsonrpc [0.20.1.v20230228-1531]
[2023-03-20 18:25:40] Installing org.eclipse.lsp4j.jsonrpc.debug [0.20.1.v20230228-1531]
[2023-03-20 18:25:40] Installing org.eclipse.wildwebdeveloper [1.0.4.202303161605]
[2023-03-20 18:25:40] Installing org.eclipse.wildwebdeveloper.feature.feature.group [1.0.4.202303161605]
[2023-03-20 18:25:40] Installing org.eclipse.wildwebdeveloper.xml [1.0.3.202303142004]
[2023-03-20 18:25:40] Installing org.eclipse.wildwebdeveloper.xml.feature.feature.group [1.0.3.202303142004]
[2023-03-20 18:25:40] Installing org.apache.commons.io [2.8.0.v20210415-0900]
[2023-03-20 18:25:40] Installing org.eclipse.wildwebdeveloper.feature.feature.jar [1.0.4.202303161605]
[2023-03-20 18:25:40] Installing org.eclipse.wildwebdeveloper.xml.feature.feature.jar [1.0.3.202303142004]
[2023-03-20 18:25:40] Preparing to commit the provisioning operation.
[2023-03-20 18:25:40] Committing the provisioning operation.

@martinlippert
Copy link
Member Author

It looks like this is related to updates in the org.eclipse.lsp4e. Installing the latest version of that into an Eclipse 2023-03 JEE package causes the format action to be disabled - without any Spring or other WWD extensions involved here.

@martinlippert
Copy link
Member Author

I submitted a fix to the lsp4e project: eclipse-lsp4e/lsp4e#571

@martinlippert
Copy link
Member Author

eclipse-lsp4e/lsp4e#571 got merged, so this fix should be included in the next ls4e release as well as the next Spring Tools for Eclipse release. Therefore, closing this now.

@anatoly-spb
Copy link

Spring Tool Suite 4

Version: 4.27.0.RELEASE
Build Id: 202411281622
Revision: a0cb489

Both Command + Shift + F and Source/Format does not work inside pom.xml файл.

@martinlippert
Copy link
Member Author

Spring Tool Suite 4

Version: 4.27.0.RELEASE Build Id: 202411281622 Revision: a0cb489

Both Command + Shift + F and Source/Format does not work inside pom.xml файл.

Comment is a duplicate of #1464 from the same reporter, which is a duplicate of #1457.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
for: eclipse something that is specific for Eclipse type: bug
Projects
None yet
Development

No branches or pull requests

3 participants