ctrl+shift+p filters: :st2 :st3 :win :osx :linux
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
  • 56 minutes ago
  • 8 years ago

Installs

  • Total 105K
  • Win 71K
  • Mac 20K
  • Linux 14K
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 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8 Aug 7 Aug 6 Aug 5
Windows 37 50 45 44 53 49 37 43 51 63 51 66 44 39 35 42 52 52 35 54 38 34 40 63 48 42 45 38 44 49 47 58 46 54 41 38 30 41 57 50 49 45 31 39 61 43
Mac 2 2 3 1 1 1 3 1 6 1 1 3 2 3 1 3 3 0 4 5 3 1 3 1 1 4 3 1 4 1 1 0 1 4 0 4 4 2 3 2 4 2 2 5 0 5
Linux 2 5 5 4 3 2 2 4 2 6 0 2 4 7 3 5 7 7 7 2 4 3 4 3 5 3 2 1 3 1 7 3 5 3 4 6 1 6 4 3 2 6 3 2 7 2

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

 */