History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEABKL-5200
Type: New Feature New Feature
Status: Open Open
Priority: Normal Normal
Assignee: Unassigned
Reporter: Chris Kirk
Votes: 0
Watchers: 1
Available Workflow Actions

Mark as Stalled
Operations

If you were logged in you would be able to see more operations.
IDEA: Backlog

Code Style: Align Assignments and arguments in similar simple method invocations

Created: 07 Aug 07 14:20   Updated: 16 Aug 07 19:28
Component/s: Code Formatting and Code Style
Affects Version/s: None
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 6,833
Severity: High


 Description  « Hide
To really help improve readability, it would be great if IDEA could add a setting for both fields and local variables that indent assignments on the assignment operator.

For example:

    int    age  = 26;
    String name = "Faraday";

Also to help readability, please align the arguments and closing brace of single line method calls that all follow the same format (eg are the same method but different invocations, possibly on different classes).

eg:

    int joesAge  = a.calcAgeFrom( alpha, beta  );
    int fredsAge = a.calcAgeFrom( gamma, delta );

    shootTargets( teddy, bear );
    shootTargets( joe,   gemma );

Thanks,

  • Chris.

PS Keep up the great work!



 All   Comments   Work Log   Change History      Sort Order:
Dmitry Jemerov - 16 Aug 07 19:28
The Tabifier plugin provides this feature: http://plugins.intellij.net/plugin/?id=178