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
  • 1 year ago
  • 1 hour ago
  • 7 years ago

Installs

  • Total 91K
  • Win 59K
  • OS X 19K
  • Linux 13K
Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 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
Windows 17 25 22 19 31 29 21 27 34 20 23 28 30 30 37 24 20 18 31 34 24 33 37 17 22 43 28 32 19 25 27 28 31 35 27 29 29 24 20 32 27 40 23 30 25 24
OS X 2 3 3 0 1 1 7 4 7 3 1 4 3 3 11 4 8 2 1 4 1 8 1 2 3 4 6 3 4 0 2 1 5 2 6 4 5 3 1 4 4 6 4 1 0 1
Linux 3 2 1 6 4 3 3 2 2 0 2 3 3 3 6 4 2 4 3 3 6 7 3 3 2 3 5 7 2 5 3 4 2 5 2 2 2 3 1 4 4 3 3 3 0 4

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

 */