Autocomplete brackets


#1

Hey, I’m new to Atom and couldn’t find anywhere online how to change the autocomplete feature to put brackets under my condition like this:

if(//condition)
{
//do something
}


#2

You’re thinking of a snippet, not a “real” autocomplete provider. You can set your own using snippets.cson, and we can tell you what to put, but we need to know what language(s) you want it for.


#3

Hey thanks for the response but i figured it out in the meantime. I’m using C and I copied some snippets from the web into the snippets.cson and modified them myself.