Drafting of comments in PhpStorm



  • The question is, I've been working with the IDE for a long time, and the HTML marking was automatically written in a comment with its end.

    For example: ---END HEADER-->

    I can't remember how to get these comments back. Help who knows.



  • We can do the lipstick. |c Filtrami

    http://docs.emmet.io/filters/#comment-tags-c

    Try doing that.

    Add the comments for the tags.

    div>div#page>p.title+p|c
    

    It'll open like...

    <div>
        <div id="page">
            <p class="title"></p>
            <!-- /.title -->
            <p></p>
        </div>
        <!-- /#page -->
    </div>
    



Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2