Skip to content
This repository has been archived by the owner on Oct 16, 2021. It is now read-only.

hachesilva/subl-comment-snippets

Repository files navigation

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

<!--========================================
=             Section comment              =
=========================================-->


<!--=====  End of Section comment  ======-->

HTML Section header

Tab trigger: comm-html-header + tab

<!--========================================
=             Section comment              =
=========================================-->

HTML Section footer

Tab trigger: comm-html-footer + tab

<!--=====  End of Section comment  ======-->

HTML Comment

Tab trigger: comm-html + tab

<!-- html comment -->

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

 */

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •