Skip to content
HTMLの閉じタグの前にコメントを入れるプラグイン
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
CloseCommentTag.py
Default (Linux).sublime-keymap
Default (OSX).sublime-keymap
Default (Windows).sublime-keymap
Default.sublime-commands
LICENSE
README.md

README.md

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+ctrl+,

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)

You can’t perform that action at this time.