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

Comment-Snippets

by hachesilva ST2/ST3 Trending

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 days ago
  • 27 minutes ago
  • 6 years ago

Installs

  • Total 71K
  • Win 43K
  • OS X 17K
  • Linux 11K
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 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
Windows 37 68 79 74 60 41 33 56 58 76 48 46 32 29 38 53 74 93 66 37 33 46 31 50 43 39 37 40 42 34 53 58 39 34 41 40 42 34 47 53 42 34 43 54 50 58
OS X 3 11 13 6 5 4 10 12 7 11 2 7 5 4 4 11 8 5 7 11 7 13 11 6 5 6 3 3 3 11 5 7 12 2 4 5 5 12 9 12 5 4 11 6 9 11
Linux 3 7 2 5 5 2 3 6 4 9 7 13 4 3 10 6 16 3 5 6 5 5 7 16 6 7 8 3 3 6 4 6 7 3 2 11 6 6 12 6 3 2 5 10 8 9

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

 */