Skip to content

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

Closed

Description

@martinlippert

Extracted from #1008

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

Activity

  1. added this to the 4.18.1.RELEASE milestone on Mar 20, 2023
  2. mtheiss commented on Mar 20, 2023

    @mtheiss

    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.
    
  3. martinlippert commented on Mar 24, 2023

    @martinlippert
    MemberAuthor

    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.

  4. martinlippert commented on Mar 24, 2023

    @martinlippert
    MemberAuthor

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

  5. martinlippert commented on Apr 1, 2023

    @martinlippert
    MemberAuthor

    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.

  6. anatoly-spb commented on Feb 3, 2025

    @anatoly-spb

    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 файл.

  7. martinlippert commented on Feb 3, 2025

    @martinlippert
    MemberAuthor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    for: eclipsetype: bug

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions