Formatting - Closing Parentheses On Same Line

Why is this happening?

1509 if((!$iCurrentProgressRecord || $aSQL["progress_id"] == $iCurrentProgressRecord) &&
1510    !count(self::$aSQL)
1511 )
1512      self::$aSQL = $aSQL;
1513 elseif($iCurrentProgressRecord &&
1514        ($aSQL["treatment_date"] > Format::SQLDate($sCurrentTreatmentDate, false))
1515 )
1516      self::$aSQLNext = $aSQL;

I want it to be like this:

1509 if((!$iCurrentProgressRecord || $aSQL["progress_id"] == $iCurrentProgressRecord) &&
1510      !count(self::$aSQL))
1511      self::$aSQL = $aSQL;
1512 elseif($iCurrentProgressRecord &&
1513      ($aSQL["treatment_date"] > Format::SQLDate($sCurrentTreatmentDate, false)))
1514      self::$aSQLNext = $aSQL;

I can't seem to find that setting to not make that closing ) go to a new line

0
1 comment

Hello Keith,

I created an issue about your problem(http://youtrack.jetbrains.net/issue/WI-6966) - please vote.

Thank you for feedback!

0

Please sign in to leave a comment.