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
  • 37 minutes ago
  • 10 years ago

Installs

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