Skip to content

syohex/CloseCommentTag

 
 

Repository files navigation

CloseCommentTag

Insert comment tag like a "<!-- /#id.classname -->" before closing tag.
HTMLの閉じタグの前にコメントを入れるプラグイン

Usage

Before.

<div id="hoge" class="fuga">
Hoge
</div>

<p id="foo" class="bar test">
Hoge
</p>

After

<div id="hoge" class="fuga">
Hoge
<!-- /#hoge.fuga --></div>

<p id="foo" class="bar test">
Hoge
<!-- /#foo.bar.test --></p>
  1. Move the caret "</div>" on top of the "<".
  2. Push shift+command+, or Select "Package Control" -> "CloseCommentTag: Insert comment tag."
  3. Before the closing tag put the "<!-- /#hoge.fuga -->"

Keymap

  • Windows: shift+ctrl+,
  • OSX: shift+command+,
  • Linux: shift+command+,

Install

  1. select "Package Control: Add Repository"
  2. input "https://github.com/Satoh-D/CloseCommentTag"
  3. select "Package Control: Install Package"
  4. input "CloseCommentTag"

Licence

MIT License

Author

Sato Daiki(@Satoh_D)

About

HTMLの閉じタグの前にコメントを入れるプラグイン

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published