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

Close​Comment​Tag

by Satoh-D ALL

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

Details

  • 1.0.0
  • github.​com
  • github.​com
  • 10 years ago
  • 15 minutes ago
  • 10 years ago

Installs

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