Bug 58822 - [typing] new command [source/transpose parameters]
Summary: [typing] new command [source/transpose parameters]
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-16 08:30 EDT by thomas menzel CLA
Modified: 2004-04-27 04:49 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description thomas menzel CLA 2004-04-16 08:30:39 EDT
new command [source/transpose parameters]

often there is the need to swap the order of parameters like so:

method(a, b) -> method(b, a)

it would be nice to have a command for that that swaps the current with the 
neighbor to the left/right (i.e. it's really 2 commands)

the need for this comes often when jdt inserts its guesses for the params of a 
method.

i think that would be also usefull for expressions in general, but i dont know 
if both scenarios can be handles by the same command.

what do you think of that?