Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/stephnr/atom-section-comments-snippets

A port of the Sublime Comment Snippets Package to Atom
https://github.com/stephnr/atom-section-comments-snippets

Last synced: 28 days ago
JSON representation

A port of the Sublime Comment Snippets Package to Atom

Awesome Lists containing this project

README

        

# atom-comment-snippets package

A port of the famous [Sublime Snippets](https://github.com/hachesilva/Comment-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

```

#### HTML Section footer

Tab trigger: `comm-html-footer` + `tab`

```html

```

#### HTML Comment

Tab trigger: `comm-html` + `tab`

```html

```

### 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 =
===============================================>>>>>*/
```

#### Section Footer

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