Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 355512

Summary: [Compatibility] 'Source > Format' appears in context menus of the Juno Java EPP packages
Product: [Eclipse Project] Platform Reporter: Remy Suen <remy.suen>
Component: UIAssignee: Platform UI Triaged <platform-ui-triaged>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 4.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Remy Suen CLA 2011-08-23 10:20:57 EDT
I see a 'Source > Format' in the context menu even when nothing is selected. The item is at least disabled so no "harm" can be done.
Comment 1 Remy Suen CLA 2011-08-23 12:32:14 EDT
I installed several (or all?) of the plug-ins from the Java EPP package like Mylyn, Mylyn WikiText, m2e, and WindowBuilder but was not able to get this context menu entry to appear. This is very odd.
Comment 2 Remy Suen CLA 2011-08-23 13:16:55 EDT
Seems to come from 'Eclipse XML Editors and Tools'.
Comment 3 Remy Suen CLA 2011-08-23 13:41:37 EDT
Same bug as bug 354967.

<menuContribution
    locationURI="popup:org.eclipse.ui.popup.any?after=additions">
  <menu
      id="sourceMenuId"
      label="%Source">
    <command
        commandId="org.eclipse.wst.sse.ui.format"
        id="sourceFormat"
        style="push">
      <!-- Check to make sure that the handler is enabled before making visible -->
      <visibleWhen checkEnabled="true" />
    </command>
  </menu>
</menuContribution>

*** This bug has been marked as a duplicate of bug 354967 ***