stephnr / atom-section-comments-snippets

A port of the Sublime Comment Snippets Package to Atom
MIT License
0 stars 2 forks source link

atom-comment-snippets package

A port of the famous Sublime Snippets package for Atom

Comments Examples

HTML Comments

HTML Section

Tab trigger: comm-html-section + tab

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

<!--= End of Section comment block =*/-->
<!--=============================================<<<<<-->

HTML Section header

Tab trigger: comm-html-header + tab

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

HTML Section footer

Tab trigger: comm-html-footer + tab

<!--= End of Section comment block =*/-->
<!--=============================================<<<<<-->

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
 *
 */