ASCII Comment Snippets
A collection of Sublime Text snippets that expand into large, highly visible code comments.
Details
Installs
- Total 5K
- Win 3K
- Mac 1K
- Linux 746
Mar 29 | Mar 28 | Mar 27 | Mar 26 | Mar 25 | Mar 24 | Mar 23 | Mar 22 | Mar 21 | Mar 20 | Mar 19 | Mar 18 | Mar 17 | Mar 16 | Mar 15 | Mar 14 | Mar 13 | Mar 12 | Mar 11 | Mar 10 | Mar 9 | Mar 8 | Mar 7 | Mar 6 | Mar 5 | Mar 4 | Mar 3 | Mar 2 | Mar 1 | Feb 28 | Feb 27 | Feb 26 | Feb 25 | Feb 24 | Feb 23 | Feb 22 | Feb 21 | Feb 20 | Feb 19 | Feb 18 | Feb 17 | Feb 16 | Feb 15 | Feb 14 | Feb 13 | Feb 12 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 2 | 1 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
ASCII Comment Snippets
This project came about after being inspired by Arley McBlain's post on Sublime Text + Sass + Ascii Art For the Win. I've been typing out comments manually for entirely too long, so I put these comment snippets together.
Example:
When inside a .css/.scss/.less file ccolors(tab) expands into
/*
.d8888b. 888
d88P Y88b 888
888 888 888
888 .d88b. 888 .d88b. 888d888 .d8888b
888 d88""88b 888 d88""88b 888P" 88K
888 888 888 888 888 888 888 888 "Y8888b.
Y88b d88P Y88..88P 888 Y88..88P 888 X88
"Y8888P" "Y88P" 888 "Y88P" 888 8888P'
*/
I'll be adding more all the time. If you come up with some of your own, pull request me. I'd love to build it out for as many languages as possible!
Usage
Turning off word wrap is a good idea.
Each snippet begins with “c” for comment, namespacing the snippets a bit. If you're about to write a section of CSS for typography, you can do ctypography, ctypo, cfont or cfonts, then hit tab. As fantastic Ascii comment will be dropped into your code.
Snippets
These are comment title - snippet trigger
CSS
- Typography -
ctypography, ctypo, cfont, or cfonts
- Breadcrumbs -
cbreadcrumbs
- Footer -
cfooter
- General -
cgeneral
- Global -
cglobal
- Grid -
cgrid
- Header -
cheader
- Layout -
clayout
- Lists -
clists
- Base -
cbase
- Media Queries -
cmediaqueries
- Modules -
cmodules, cmods
- State -
cstate
- Touch Styles -
ctouch
- Theme -
ctheme
- Colors -
ccolors or ccolor