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

Close​Comment​Tag

by Satoh-D ALL

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

Details

Installs

  • Total 16K
  • Win 14K
  • Mac 2K
  • Linux 516
Feb 28 Feb 27 Feb 26 Feb 25 Feb 24 Feb 23 Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12 Feb 11 Feb 10 Feb 9 Feb 8 Feb 7 Feb 6 Feb 5 Feb 4 Feb 3 Feb 2 Feb 1 Jan 31 Jan 30 Jan 29 Jan 28 Jan 27 Jan 26 Jan 25 Jan 24 Jan 23 Jan 22 Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15
Windows 0 5 1 2 0 3 1 0 0 1 0 0 3 0 0 0 1 2 0 0 0 0 2 0 1 3 0 1 0 0 0 1 0 0 0 0 0 1 0 0 0 0 2 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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)