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 103826 - Apply code formatting, while typing
Summary: Apply code formatting, while typing
Status: REOPENED
Alias: None
Product: editor
Classification: Unclassified
Component: Formatting & Indentation (show other bugs)
Version: 7.3.1
Hardware: All All
: P3 blocker with 1 vote (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-12 02:07 UTC by err
Modified: 2016-07-10 18:01 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 err 2007-05-12 02:07:02 UTC
In "Options > JavaCode > Formatting > Wrapping" there are selections for
"always" and "if long". I would like to request either a change in behavior of
"if long" or an additional selection something like "if long everything". For
example, lets say there is:
    public enum Where {
        NORTH, EAST, SOUTH, WEST
    }
Currently, when "if long" is set, this results in
    public enum Where {
        NORTH, EAST, SOUTH,
        WEST
    }
I am requesting a mode that if the line is too long, then it wraps like the
"always" mode. So either there would be the first example above or when the line
is too long you get
    public enum Where {
        NORTH,
        EAST,
        SOUTH,
        WEST
    }
Comment 1 markiewb 2012-11-28 21:41:40 UTC
This RFE sounds like live-formatting.
Comment 2 Martin Balin 2016-07-07 07:25:54 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss
Comment 3 markiewb 2016-07-10 18:01:30 UTC
Still valid in 8.2 dev 
Product Version: NetBeans IDE Dev (Build 201607100002)