Atom auto indent problems when used without brackets


Please see the above screen cast. Above shows PHP, but observed in JS also.

If I don’t use brackets “{”, the auto-indent does not seem to happen for the next line.

Is there any configuration that could make this happen.

Thanks! BTW, Loving atom!


The auto-indent rules are built in to the language syntax. But yes, they are generally built off of brackets or other block indicators. They aren’t configurable separately from the language syntax.


Thank you for your response.