atom-auto-indent
atom-auto-indent copied to clipboard
Not working on Atom 1.12.3
I have problmes with auto indentation of my Javascript and PHP files (only tests I made). I made comparison with others text-editors like, Brackets, or VS, and Sublime, there is clearly a problem with the indentation system in Atom, or in this package.
That cause I can't fold normally my file's functions, because atom folding system is based on the indentation.... (IDK if this is made on purpose but that is a real pain in the ass for me).
Css/SASS works great.
Php example:
What I got
switch ($request) {
case "GET":
include("myfile.php");
break;
case "PUT":
include("myotherfile.php");
break;
}
What I expect (case's content are here, well indent)
switch ($request) {
case "GET":
include("myfile.php");
break;
case "PUT":
include("myotherfile.php");
break;
}