akalongman / akalongman/sublimetext-codeformatter

SmartLnAfterCurlyOpen doesn't work as exclude

Đang mở
#257 3 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
772
Fork
128
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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();`
`}`

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.