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 175028 - Implement real code formatting (not just indenting)
Summary: Implement real code formatting (not just indenting)
Status: CLOSED INVALID
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker with 1 vote (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
: 231051 249760 (view as bug list)
Depends on:
Blocks: 235150
  Show dependency tree
 
Reported: 2009-10-20 16:42 UTC by ota
Modified: 2018-11-09 14:08 UTC (History)
3 users (show)

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 ota 2009-10-20 16:42:55 UTC
It would be great if the html source formatting automatism would add a newline after every closing html tag if another
opening tag is following.

Reason: When working with external, unformatted (example: one liners) code the option is useless in its current state.

Example: Try to format the source code of following ebay page: http://antiques.shop.ebay.com/
You will notice that the code is only indented but still not well formatted and readable.
Comment 1 David Konecny 2009-10-21 01:43:15 UTC
Agreed. At the moment we basically have just indentation engine but no real formatting engine which would allow you
"prettify" document.
Comment 2 John Jullion-ceccarelli 2013-06-11 13:46:37 UTC
*** Bug 231051 has been marked as a duplicate of this bug. ***
Comment 3 David Konecny 2013-06-11 23:24:09 UTC
Sorry Marek, I did not mean to reassign the issue to you - I just assigned it to default owner of the component. I did write indentation code but I have no plans to work on this issue/area.
Comment 4 Marek Fukala 2013-06-12 05:04:21 UTC
That's ok. I was thinking about reassigning all the indentation issues to myself anyway as you are busy with different stuff.
Comment 5 David Konecny 2013-06-12 22:47:45 UTC
I'm still happy to help with the indentation issues. Luckily there are not many new issues.
Comment 6 Milutin Kristofic 2015-03-23 16:30:05 UTC
*** Bug 249760 has been marked as a duplicate of this bug. ***
Comment 7 Christian Lenz 2016-02-06 12:11:58 UTC
Anything new here?
Comment 8 Christian Lenz 2016-02-06 12:12:41 UTC
happens for CSS too.
Comment 9 Christian Lenz 2016-04-29 08:46:35 UTC
It is not possible to format HTML or CSS when you copy minified code or code which is in one line. Have to switch to another application.
Comment 10 Christian Lenz 2017-07-26 21:39:34 UTC
Anything new here?
Comment 11 Christian Lenz 2018-11-09 14:08:03 UTC
I will close it, because it will handled now at the JIRA board: https://issues.apache.org/jira/browse/NETBEANS-1640. Please discuss it there for further information.