php-mode icon indicating copy to clipboard operation
php-mode copied to clipboard

Indenting continued expression [support]

Open arvindkhadri opened this issue 10 years ago • 1 comments

Hi, I want to indent PHP code like this

<? php
  $a = array(
    'foo' => isset(xyz) ? abc :
             isset(def) ? pqr :
             ghi
  );
?>

Which symbol should I change to get the desired effect?

arvindkhadri avatar Dec 17 '15 08:12 arvindkhadri

Unfortunately, there's nothing you can do from a user-perspective to get the desired indentation. It's not supported by php-mode. I'm pondering on a solution so do keep track of this issue.

Thanks for the feedback!

jorissteyn avatar Jul 31 '16 17:07 jorissteyn