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

  • 2018.05.23.16.26.35
  • github.​com
  • github.​com
  • 2 months ago
  • 1 hour ago
  • 6 years ago

Installs

  • Total 74K
  • Win 45K
  • OS X 17K
  • Linux 11K
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 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8 Jun 7 Jun 6
Windows 10 46 52 57 48 38 41 36 53 40 43 46 42 41 33 33 37 42 56 43 38 39 43 54 47 61 37 29 26 40 51 56 52 33 33 29 53 50 56 58 53 30 29 38 16 47
OS X 2 10 12 12 13 11 11 4 3 10 12 4 6 3 5 7 8 5 9 8 6 3 10 7 11 5 7 3 4 5 7 8 6 2 4 2 4 6 4 6 6 1 7 11 2 5
Linux 0 5 5 16 7 5 4 0 9 10 12 4 7 3 4 4 6 5 6 5 3 4 8 14 5 5 14 6 6 8 9 9 7 9 4 6 2 7 8 5 5 2 6 8 0 8

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

 */