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 231051 - split single-line rule into multi-line rule
Summary: split single-line rule into multi-line rule
Status: RESOLVED DUPLICATE of bug 175028
Alias: None
Product: web
Classification: Unclassified
Component: CSS Editor (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-10 20:54 UTC by John Jullion-ceccarelli
Modified: 2013-06-11 13:46 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 John Jullion-ceccarelli 2013-06-10 20:54:35 UTC
If I have this:

#wrapper {width: 960px; margin:0 auto; border: 1px solid; }

Would be nice to have a keyboard command to turn it into this:

#wrapper {
    width: 960px; 
    margin:0 auto; 
    border: 1px solid; 
}
Comment 1 Marek Fukala 2013-06-11 08:10:59 UTC
I believe this is what real formatter should do. Right now we have just indenter, which never changes content of the lines, just shifts them left or right. 

Along with configurable formatting options one can do exactly what you mentioned if s/he selects the entire line and do reformat.

Bug 175028 - Implement real code formatting (not just indenting)

Would that work for you John?
Comment 2 John Jullion-ceccarelli 2013-06-11 13:46:37 UTC
Agreed that issue covers it more broadly.

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