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 89176 - Support easy reordering of paramaters in method decl and invocation
Summary: Support easy reordering of paramaters in method decl and invocation
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-12 20:42 UTC by _ sandipchitale
Modified: 2013-09-02 14:24 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ sandipchitale 2006-11-12 20:42:23 UTC
Use of , as a separator between parameter declarations as well as method 
invocation arguments is assymetric i.e. there is no comma after the last 
parameter or argument. This causes a lot of editing operations while trying to 
reorder the parameter declarations and arguments. The IDEs editor should have 
support to easily reorder these taking care of moving the , around.

Also see:

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6407472
Comment 1 _ sandipchitale 2007-12-27 02:34:59 UTC
The Reoder module supports this functionality. See:
http://plugins.netbeans.org/PluginPortal/faces/PluginDetailPage.jsp?pluginid=4821
Comment 2 Vitezslav Stejskal 2008-01-02 12:58:14 UTC
Nice, what file types does your module support? Thanks
Comment 3 _ sandipchitale 2008-01-02 15:19:06 UTC
Only Java files as it makes use of javan (Retouche) apis to figure out the span of each item in the sequence, which could be a complex expression. A 
SPI should be created though so that other languages could support the same functionality.
Comment 4 Vitezslav Stejskal 2008-01-03 10:06:51 UTC
Let's start with java then.