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
  • 3 years ago
  • 2 weeks ago
  • 9 years ago

Installs

  • Total 123K
  • Win 87K
  • Mac 21K
  • Linux 15K
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 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
Windows 11 42 38 34 27 29 35 41 62 40 33 27 21 23 46 38 33 37 26 25 40 44 42 54 43 26 24 28 38 51 57 43 24 29 32 37 55 40 49 16 30 27 50 34 38 41
Mac 0 2 0 2 1 0 2 3 3 2 2 4 1 1 1 2 3 0 3 0 4 2 1 3 1 2 2 1 2 4 3 1 2 2 1 3 3 0 3 3 1 2 0 1 1 1
Linux 1 2 4 3 1 3 1 3 3 2 1 1 3 0 1 3 2 2 1 2 2 2 3 1 1 1 3 2 1 1 1 1 2 3 1 2 10 2 2 1 5 1 1 4 1 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

 */