This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 184201

Summary: Jalopy adds an extra "format" menu item in the source menu
Product: third-party Reporter: paolosca <paolosca>
Component: -- Other --Assignee: issues@third-party <issues>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: screenshot of source menu with two "Format" items

Description paolosca 2010-04-14 17:56:59 UTC
Created attachment 97386 [details]
 screenshot of source menu with two "Format" items

After installing Jalopy Java Source Code Formatter I now have one extra "format" menu item in the source menu. One with the shortcut ctrl+alt+f which executes the code normal formatting and the other, with shortcut ctrl+alt+f10, which doesn't seem to do anything.
Comment 1 paolosca 2010-09-13 10:00:54 UTC
Problem is still present in netbeans-trunk-nightly-201009130000-php-linux, it's kind of confusing when both php and Jalopy plugins are installed.

Could it be possible to make the Jalopy "format" menu item visible only when a Java file is being edited?

Alternatively, the menu item could be renamed to "Format with jalopy".
Comment 2 paolosca 2011-04-04 18:16:04 UTC
Problem is still present in netbeans-trunk-nightly-201103290400-ml-php-linux.

Perhaps the Source->Format item on Jalopy should be renamed or perhaps it should only appear when editing a Java file.
Comment 3 paolosca 2011-09-21 05:22:41 UTC
Sorry, misunderstood the use of the Version field, reverting to the original
value.