Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/stephnr/atom-section-comments-snippets
- Owner: stephnr
- License: mit
- Created: 2016-01-29T07:03:18.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-04-26T04:19:27.000Z (over 8 years ago)
- Last Synced: 2024-10-25T08:35:30.947Z (3 months ago)
- Language: CoffeeScript
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
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
*
*/
```