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

Comment-Snippets

by hachesilva ST2/ST3

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

Labels snippets

Details

  • 2017.02.15.21.25.50
  • github.​com
  • github.​com
  • 8 months ago
  • 59 minutes ago
  • 5 years ago

Installs

  • Total 60K
  • Win 35K
  • OS X 15K
  • Linux 10K
Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 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
Windows 26 43 39 41 45 27 39 44 45 28 51 46 22 30 38 43 29 38 36 27 31 42 43 45 44 40 19 33 41 53 45 49 50 35 40 48 53 50 31 25 25 27 35 43 34 35
OS X 7 7 11 9 13 5 5 11 12 6 11 10 4 8 11 6 10 5 9 6 4 4 8 12 9 10 3 5 13 13 14 16 11 10 9 16 19 15 11 6 5 1 8 6 6 8
Linux 6 8 5 6 10 6 7 7 11 7 7 13 8 2 8 12 3 5 5 6 1 13 5 10 14 11 5 2 7 6 5 3 9 8 8 10 9 5 10 4 5 6 10 6 7 10

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

 */