How can I set in atom that whenever i use a brace after an if or a for, it automatically indents itself.
For example, whenever I type
if(prime(x))
and an opening brace on the next line it should look like this:
if(prime(x))
{
}
That’s how CodeBlocks handles it and I would like to switch from it to Atom but I can’t get used to this thing.