atom-auto-indent icon indicating copy to clipboard operation
atom-auto-indent copied to clipboard

Not working on Atom 1.12.3

Open AgamlaRage opened this issue 8 years ago • 0 comments

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;
}

AgamlaRage avatar Nov 16 '16 00:11 AgamlaRage