SwiftFormat v0.44.0 Release Notes

Release Date: 2020-01-15 // 3 days ago
    • 👕 Xcode Extension now includes Lint File option
    • Xcode Extension now preserves selection after formatting
    • 👌 Improved range-based formatting in Xcode Extension
    • 🔧 Wrapping of function calls can now be configured separately from function declarations via the --wrapparameters option
    • 🛠 Numerous improvements to wrapping and indenting logic (thanks to @AnthonyMDev for the fixes)
    • 🛠 Fixed indent logic for unbalanced closing parens
    • 🛠 Fixed self being removed incorrectly inside if statements
    • 🛠 Fixed duplicate lint warnings
    • 🛠 Fixed failure to fix indent at start of file
    • 🛠 Fixed reported line index for consecutiveBlankLines rule

Previous changes from v0.43.5

    • 🛠 Fixed bug where redundantBreak rule removed entire line if break appeared after a semicolon
    • 🛠 Fixed a couple of cases where redundantSelf failed to remove self as expected