Indent code in PHP tags not working

I have "Indent code in PHP tags" selected in my Settings window under Code Style >> PHP.  In 2.1.5, it's not being honored.  Each line in a file without errors starts at the far left.

It's not smart-tabbing either, though I don't recall where that option is.  That is, if I have...

          $cmdTest = "SELECT * FROM myTable";

The next line starts not under like this...


          $cmdTest = "SELECT * FROM myTable";

          $rsTest = mysql_query($cmdTest, $db);

... but goes flush with the left again.

          $cmdTest = "SELECT * FROM myTable";

$rsTest = mysql_query($cmdTest, $db);


This is build #PS-107.658.  Did not have this issue with 2.1.2.  Only happened once upgraded to 2.1.5.  Using Ubuntu 11.



Hrm, doesn't always happen, but I can't tell what triggers it.  It's not just, eg, files with errors, which has borked things in the past (but was more obviously my fault).

1 comment
Comment actions Permalink

I think this is just a bug. Please submit it to http://youtrack.jetbrains.net. Thanks!

0

Please sign in to leave a comment.