Skip to content

Duplicate Source top level menu when Java editor is active #822

Closed

Description

@BoykoAlex

There are 2 Source top level menu appear when java editor is active. See: spring-projects/spring-tools#1111

The issue seems to be org.eclipse.lsp4e/plugins.xml having this bit:

      <menuContribution locationURI="menu:org.eclipse.tm4e.source.menu">
         <!-- Source/Format" menu entry in window menu -->
         <separator name="formatStart" visible="true" />
         <command commandId="org.eclipse.lsp4e.format">
            <visibleWhen>
                <reference definitionId="org.eclipse.lsp4e.textSelectionHasLanguageServer" />
            </visibleWhen>
          </command>
          <separator name="formatEnd" visible="true" />
      </menuContribution>

Looks like menu org.eclipse.tm4e.source.menu is gone and hence the action either needs to go or become a "reatarget" action probably.

Activity

  1. BoykoAlex commented on Jan 29, 2024

    @BoykoAlex
    ContributorAuthor

    Can we simply remove the menu contribution snippet in the description?

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions