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

更新时间:2020-08-13 21:55:17

Browse

Comment-Snippets

by hachesilva ALL

Sublime Text snippets to create fancy PHP, CSS and HTML comments.

Labels snippets

Details

  • 2018.05.23.16.26.35
  • github.​com
  • github.​com
  • 2 years ago
  • 2 hours ago
  • 8 years ago

Installs

  • Total 103K
  • Win 70K
  • Mac 20K
  • Linux 14K
Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8 Aug 7 Aug 6 Aug 5 Aug 4 Aug 3 Aug 2 Aug 1 Jul 31 Jul 30 Jul 29 Jul 28 Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29
Windows 25 57 50 49 45 31 39 61 43 64 46 35 26 64 59 50 46 36 37 39 39 47 63 47 40 40 36 45 55 47 45 34 30 41 48 56 52 44 46 34 46 54 49 53 45 47
Mac 2 3 2 4 2 2 5 0 5 2 3 5 3 3 3 6 6 5 1 0 2 2 3 5 5 4 1 5 3 4 4 4 4 1 4 7 4 5 1 3 5 7 1 4 4 2
Linux 4 4 3 2 6 3 2 7 2 4 5 8 3 4 3 6 7 7 3 5 5 9 4 4 3 2 1 9 2 5 1 1 4 3 3 3 9 5 5 9 0 1 4 5 3 7

Readme

Source
raw.​githubusercontent.​com

Comment-Snippets for Sublime Text

Several snippets to create some fancy PHP, CSS and HTML comments in Sublime Text.

Atom version here: https://atom.io/packages/section-comment-snippets

Comment Snippet Preview

Comments Examples

HTML Comments

HTML Section

Tab trigger: comm-html-section + tab

HTML Section header

Tab trigger: comm-html-header + tab

HTML Section footer

Tab trigger: comm-html-footer + tab

HTML Comment

Tab trigger: comm-html + tab

C-Style Comments

For languages supporting C-Style comments: PHP, CSS, Javascript, Java…

Section

Tab trigger: comm-section + tab

/*=============================================
=            Section comment block            =
=============================================*/



/*=====  End of Section comment block  ======*/

Section Header

Tab trigger: comm-section-header + tab

/*=============================================
=            Section comment block            =
=============================================*/

Section Footer

Tab trigger: comm-section-footer + tab

/*=====  End of Section comment block  ======*/

Subsection

Tab trigger: comm-subsection + tab

/*----------  Subsection comment block  ----------*/

Simple Comment

Tab trigger: comm + tab

/* Comment */

Block Comment

Tab trigger: comm-block + tab

/**
 *
 * Block comment
 *
 */

Todo Comment

Tab trigger: comm-todo + tab

/**

    TODO:
    - First todo item
    - Second todo item

 */