huilin1990 / zen-coding

Automatically exported from code.google.com/p/zen-coding
0 stars 0 forks source link

Self commenting for easy identification of tags in large codes #170

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I am proposing this as an enhancement to zen-coding.

zen-coding produces a formatted output which is neat.  Now with HUGE codes
that sometimes developers have to handle, they fall in to a complex nest of
various HTML tags.  For dealing with this we put a comment at the end of
each tag so that they could be identified properly.  This is a big big help
when debugging a faulty markup

An example is:

<div id="treatment">
  <div id="nav">
   ... ... 1mn lines .. ..
  </div><!--/div#nav-->
   ... ... 1mn lines .. ..
</div><!--div#treatment-->

I would love to see such a feature in zen-coding. If zen-coding could auto
insert these closing comments, it will really help.

Thanks,
Kishu

Original issue reported on code.google.com by kish...@gmail.com on 7 May 2010 at 8:36

GoogleCodeExporter commented 8 years ago
http://code.google.com/p/zen-coding/wiki/Filters

Original comment by serge....@gmail.com on 7 May 2010 at 8:44