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 160510 - RFE: aligning data members and local variable declarations vertically
Summary: RFE: aligning data members and local variable declarations vertically
Status: RESOLVED DUPLICATE of bug 221729
Alias: None
Product: editor
Classification: Unclassified
Component: Formatting & Indentation (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-18 01:31 UTC by markt1964
Modified: 2015-04-06 19:45 UTC (History)
0 users

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 markt1964 2009-03-18 01:31:21 UTC
Sometimes self-documenting coding conventions requires that adjacent variable declarations and class data members
declarations utilize extra whitespace before the variable type, the variable name, and/or any inital value assigned to
it so that they are all aligned vertically, similar to as if their position was determined by a tab stop (but instead
the width of each such "column" is actually determined by the actual text on the run of other such lines above and below
it rather than at fixed a fixed 'x' position ).  When access modifiers or variable identifiers can be of potentially
very different lengths, the result can be code that looks far less cluttered.   It would be a most convenient feature
for the code reformatter to be able to optionally align class data members and local variable names on adjacent
declarations vertically in this manner.
Comment 1 markiewb 2015-04-06 19:45:59 UTC

*** This bug has been marked as a duplicate of bug 221729 ***