ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Close​Comment​Tag

by Satoh-D ST2/ST3

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

Details

Installs

  • Total 9K
  • Win 7K
  • OS X 2K
  • Linux 327
Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8 Jun 7 Jun 6 Jun 5 Jun 4 Jun 3 Jun 2 Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5
Windows 4 4 4 3 4 0 5 5 7 4 2 3 10 7 1 3 6 5 4 4 5 2 5 2 1 4 5 7 1 3 5 2 3 7 4 0 6 11 4 7 2 8 5 6 4 2
OS X 0 0 1 1 1 0 0 2 0 2 0 0 1 0 0 1 0 0 0 2 1 1 0 2 0 0 0 2 0 0 0 0 1 2 0 1 1 0 1 1 3 2 0 0 0 2
Linux 0 0 0 0 0 1 0 1 0 0 1 0 0 0 1 0 0 0 1 1 2 1 0 0 0 0 0 0 0 1 1 0 0 1 0 1 1 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

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 “html

Hoge

Hoge

1. Move the caret "&lt;/div&gt;" on top of the "&lt;".
2. Push <kbd>shift</kbd>+<kbd>command</kbd>+<kbd>,</kbd> or Select "Package Control" -> "CloseCommentTag: Insert comment tag."
3. Before the closing tag put the "&lt;!-- /#hoge.fuga --&gt;"

## Keymap

- Windows: <kbd>shift</kbd>+<kbd>ctrl</kbd>+<kbd>,</kbd>
- OSX: <kbd>shift</kbd>+<kbd>command</kbd>+<kbd>,</kbd>
- Linux: <kbd>shift</kbd>+<kbd>ctrl</kbd>+<kbd>,</kbd>

## 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](https://github.com/tcnksm/tool/blob/master/LICENCE) 

## Author

[Sato Daiki(@Satoh_D)](https://twitter.com/Satoh_D)