akalongman / akalongman/sublimetext-codeformatter
SmartLnAfterCurlyOpen doesn't work as exclude
Open
- Dominant language
- Python
- Stars
- 772
- Forks
- 128
- PR merge metrics
- No merged PRs in 30d
Description
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();`
`}`
Contributor guide
Assessment
This issue has not been assessed yet.