Atom Packages Directory

a package directory for a text editor of the 21st Century

Section Comment Snippets

Install with:
    apm install section-comment-snippets
  

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

```html

```

HTML Section header

Tab trigger: comm-html-header + tab

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

Tab trigger: comm-html-footer + tab

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

HTML Comment

Tab trigger: comm-html + tab

html <!-- html comment -->

C-Style Comments

For languages supporting C-Style comments: PHP, CSS, Javascript, Java…

Section

Tab trigger: comm-section + tab

```js /=============================================»»> = Section comment block = ===============================================»»>/

/= End of Section comment block =/ /=============================================««</ ```

Section Header

Tab trigger: comm-section-header + tab

js /*=============================================>>>>> = Section comment block = ===============================================>>>>>*/

Tab trigger: comm-section-footer + tab

css /*= End of Section comment block =*/ /*=============================================<<<<<*/

Subsection

Tab trigger: comm-subsection + tab

css /*----------- Subsection comment block -----------*/

Simple Comment

Tab trigger: comm + tab

css /* Comment */

Block Comment

Tab trigger: comm-block + tab

css /** * * Block comment * */

Keywords: comment, comments, snippet, snippets, block, section Suggest keywords
Fork me on GitHub