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

Key: IDEABKL-114
Type: New Feature New Feature
Status: Open Open
Priority: Major Major
Assignee: Olesya Smirnova
Reporter: Maxim Shafirov
Votes: 3
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 variable names and initializers in declaration

Created: 07 Feb 05 19:05   Updated: 10 Nov 06 10:06
Component/s: Code Formatting and Code Style
Affects Version/s: None
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Issue Links:
Duplicate
 
This issue is duplicated by:
IDEABKL-936 Formatting Option to align and/or pre... Normal Resolved
IDEABKL-2773 Formatter to align declarations field... Normal Resolved
IDEA-2928 Reformat Code eats all whitespace Resolved


 Description  « Hide
http://www.intellij.net/tracker/idea/viewSCR?publicId=3014
IDEA's configuration options for code styles are great, but there still is
a single feature, that I miss dearly:
I'd like to have the option to align variable (or field) names in declarations, as well as their initializers, it makes a declaration list so much more readable (see Jalopy project on SourceForge):
private static int _max = 43;
protected Locale _spanish = new Locale("es");

 All   Comments   Work Log   Change History      Sort Order:
Stephen Friedrich - 22 Jun 05 12:09
That should of couse read

private static int _max = 43;
protected Locale _spanish = new Locale("es");

You need not have as much options as Tabifier.
OTOH polishing and bundling the plugin would do the job with very little effort.


Stephen Friedrich - 22 Jun 05 12:10
Damn. I though the spaces were missing because the issue was converted from tracker. But Jira also does not seem to honor them.

Ray Suliteanu - 30 Oct 06 20:25
In every other way IntelliJ code formatting is better than Eclipse. This is the one thing I've found that Eclipse can do that IntelliJ can't w.r.t. formatting.