akalongman / akalongman/sublimetext-codeformatter

SmartLnAfterCurlyOpen doesn't work as exclude

Offen
#257 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
772
Forks
128
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.