What Do You Use Atom Snippets For?

twitter logo github logo Updated on ・1 min read

I'm an Atom editor user and the snippets feature is something I've been trying to utilize more heavily. Currently, the only one I have actually created/use is this:

  'Debug printout check':
    'prefix': 'dbg'
    'body': 'fmt.Println(${1:"debug"}) // TEMPORARY$2'

I use it to mark areas of my Go codebase as I'm moving through and debugging/fixing it. Nothing groundbreaking. Any good examples floating around out there (outside of the official documentation)? I'd love to see what cool things you fellow Atom users use snippets for!

twitter logo DISCUSS
Classic DEV Post from May 10 '19

Why I ignore the hype (and you should too)

It’s been 20 years since I made my first website. I've been burned by the hype ti...

John Forstmeier profile image
Build well