[request] tabifier...

It would be great if the parameter types in a method signature were aligned...

public Iterator getChildren(Object parentOID,
OpsTransaction transaction,
Map params)

becomes...

public Iterator getChildren(Object             parentOID,
                                   OpsTransaction  transaction,
                                   Map                 params)

what do you think?

5 comments

See Project Settings/Code style/Work in Progress/Alignments/Align
multiple parameters.

joe martinez wrote:

It would be great if the parameter types in a method signature were aligned..

public Iterator getChildren(Object parentOID,
OpsTransaction transaction,
Map params)

becomes...

public Iterator getChildren(Object???????????  parentOID,
???????????????????????????????????OpsTransaction ?transaction,
???????????????????????????????????Map?????????????????params)

what do you think?


0

I misunderstand you request.

Eugene Karpov wrote:

See Project Settings/Code style/Work in Progress/Alignments/Align
multiple parameters.

joe martinez wrote:

>> It would be great if the parameter types in a method signature were
>> aligned..
>> public Iterator getChildren(Object parentOID,
>> OpsTransaction transaction,
>> Map params)
>> becomes...
>>
>> public Iterator getChildren(Object???????????  parentOID,
>> ???????????????????????????????????OpsTransaction ?transaction,
>> ???????????????????????????????????Map?????????????????params)
>>
>> what do you think?



0

Joe,

I have done that in the tabifier version that I'm currently working on (and have not uploaded yet). Not only that, it can align modifiers, e.g.


just as it can in field and variable declarations.

Oooh, and it can do lots of other nifty things, like right-justify integer constants:


Here's a real-life example (I've got commas aligned but that's an option):


I only have to get "new" expressions working (they have unusual syntax possibilities) and I'll be ready to upload it, I think.

-Dave

0

fantastic!

Can't wait. When's the ETA?

0

I'm hoping to upload early this week.

0

Please sign in to leave a comment.