akalongman / akalongman/sublimetext-codeformatter

SmartLnAfterCurlyOpen doesn't work as exclude

オープン
#257 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
772
フォーク
128
PR マージ指標
30日以内にマージされた PR はありません

説明

When using:
`"passes": ["AlignDoubleSlashComments", "AlignGroupDoubleArrow", "AlignDoubleArrow", "AllmanStyleBraces", "GeneratePHPDoc", "PrettyPrintDocBlocks", "ReindentAndAlignObjOps", "ShortArray", "SpaceAroundExclamationMark"],`

and

`"exclude": ["SmartLnAfterCurlyOpen"]`

my one line if statements are still being formatted to multiple lines. So this still happens:
`if($a) echo array();`
becomes
`if($a) {`
`echo array();`
`}`

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。