DEV Community


What Do You Use Atom Snippets For?

forstmeier profile image John Forstmeier 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'
Enter fullscreen mode Exit fullscreen mode

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!

Discussion (0)

Editor guide