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 201950 - [suggestion] Adding tag's info into HTML comments on auto-closing.
Summary: [suggestion] Adding tag's info into HTML comments on auto-closing.
Status: NEW
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 7.0.1
Hardware: PC Windows 7 x64
: P3 normal (vote)
Assignee: Milutin Kristofic
Depends on:
Reported: 2011-09-11 22:20 UTC by TrebleSnake
Modified: 2014-10-06 13:26 UTC (History)
0 users

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description TrebleSnake 2011-09-11 22:20:32 UTC
Hi, what do you think about such a feature in HTML editor: IDE puts tag's id and classes into HTML comment behind the tag on its auto-closing?

I have an opening tag: <div id="myDiv" class="myClass1 myClass2">.
For now NetBeans can automatically add only closing tag "</div>", but, IMHO, it would be great to make it "</div><!-- #myDiv.myClass1.myClass2 -->".

Could be very handy for complex HTML code.
Comment 1 cromat 2012-03-07 17:04:17 UTC
I would like to see the closing tag for Maven / XML/ HTML etc in general the commend thing is not necessary.  I think if that is configurable for others then that would be the best solution.
Comment 2 Marek Fukala 2012-10-15 13:18:10 UTC
that's nice enhancement