Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

SwiftFormat

A command-line tool and Xcode Extension for formatting Swift code
Collective - Host: opensource - https://opencollective.com/swiftformat - Code: https://github.com/nicklockwood/SwiftFormat

Updated for 0.44.9 release

github.com/nicklockwood/SwiftFormat - 78f78b27d8874fdea4b2a7e264af1c0f27272483 authored over 4 years ago by Nick Lockwood <[email protected]>
Don't remove nil init from struct with default init

github.com/nicklockwood/SwiftFormat - 735dcfbbd7050770ef1aaf88bbf2dcbafe4e391f authored over 4 years ago by Nick Lockwood <[email protected]>
Add `--nowrapoperators` option

github.com/nicklockwood/SwiftFormat - f581c4e32e52cb9b4fdab4b5db1b3955c0ca034d authored over 4 years ago by Nick Lockwood <[email protected]>
Add `--specifierorder` option

github.com/nicklockwood/SwiftFormat - 0ad2f8acd08eece1c0b6436bd0fe4e885fc51b52 authored over 4 years ago by Nick Lockwood <[email protected]>
Fix trailing multiline comment delimiter indenting

github.com/nicklockwood/SwiftFormat - efaf6711c27de7c93ef075f33790a5454c4edb0f authored over 4 years ago by Nick Lockwood <[email protected]>
Updated for 0.44.8 release

github.com/nicklockwood/SwiftFormat - e4b6bfd7c79e9b0096dd7eb997c1dfbcb549434b authored over 4 years ago by Nick Lockwood <[email protected]>
Fix `override` specifier ordering

github.com/nicklockwood/SwiftFormat - 9ba3b7b4c62f4b0029e37e297f0fcf2073e4c4c1 authored over 4 years ago by Nick Lockwood <[email protected]>
Fix preformatted comments

github.com/nicklockwood/SwiftFormat - 16292d4e3491235e1973edcaf94a267883e1b6da authored over 4 years ago by Nick Lockwood <[email protected]>
Fix misleading error message

github.com/nicklockwood/SwiftFormat - 8415f1a323d3dce9a0b4d7cbcfb214a39f675a0d authored over 4 years ago by Nick Lockwood <[email protected]>
Improve wrapping behavior

github.com/nicklockwood/SwiftFormat - fbf6947dd2ad8d1fefd78d5f621fb520e363c951 authored over 4 years ago by Nick Lockwood <[email protected]>
Fix crash in wrap rule

github.com/nicklockwood/SwiftFormat - ad3e09c369a471b163f839d72334229058f23f8a authored over 4 years ago by Nick Lockwood <[email protected]>
Fix performance regression introduced in 0.44.6

github.com/nicklockwood/SwiftFormat - 1eb11dabe45fc476a847e6e61c662b634f4924b2 authored over 4 years ago by Nick Lockwood <[email protected]>
Fix nested multiline string interpolation indent

github.com/nicklockwood/SwiftFormat - ecda0fe4afbdabb0f304caad40a4c1a17b7509ba authored over 4 years ago by Nick Lockwood <[email protected]>
Fix malformatted multiline string interpolations

github.com/nicklockwood/SwiftFormat - 9d0c22063651a854c6ca7d6ef2bef56b630803d2 authored over 4 years ago by Nick Lockwood <[email protected]>
Fix infinite recursion indenting nested comments

github.com/nicklockwood/SwiftFormat - d841f9bc80c5d945aa3e28c7346ca1ff3adfe70b authored over 4 years ago by Nick Lockwood <[email protected]>
Ensure trailingSpace rule is called before indent

github.com/nicklockwood/SwiftFormat - 12594a3bd8e64b15f13136e4787436a45e384e3d authored over 4 years ago by Nick Lockwood <[email protected]>
Don't skip partially ignored arguments lists

github.com/nicklockwood/SwiftFormat - 034df64984fd0c2a4cbdf81da8fbef9115af3cb9 authored over 4 years ago by Nick Lockwood <[email protected]>
Don't remove parens when closure arg contains self

github.com/nicklockwood/SwiftFormat - 50eab67cde2468a1ebd909f1d132cba0a43a47b7 authored over 4 years ago by Nick Lockwood <[email protected]>
Add full Text Settings option location in README

github.com/nicklockwood/SwiftFormat - 9508a160654f03ce8ba6275efacdb160181c21d7 authored over 4 years ago by Iulian Onofrei <[email protected]>
Added missing punctuation in README

Also removed trailing or superfluous whitespaces.

github.com/nicklockwood/SwiftFormat - a0d293605856eeb43b8c132279b21066b1558743 authored over 4 years ago by Iulian Onofrei <[email protected]>
Fixed inconsistent Swift references casing

github.com/nicklockwood/SwiftFormat - 7e0056b4e5867f8fa4212bcfcb11cef3b651fc7c authored over 4 years ago by Iulian Onofrei <[email protected]>
Updated for 0.44.7 release

github.com/nicklockwood/SwiftFormat - 03989b9a28f98ea5cad5ca2b22024a8b67aca31c authored almost 5 years ago by Nick Lockwood <[email protected]>
Improve error messaging for parseRules

github.com/nicklockwood/SwiftFormat - eb6c89ba35e1f5bc3d2fde118fed42479b080523 authored almost 5 years ago by Nick Lockwood <[email protected]>
Make rules parsing case-insensitive

github.com/nicklockwood/SwiftFormat - 235b1e9b50ffcd6c0ee5cc23d2109e66de0688c8 authored almost 5 years ago by Nick Lockwood <[email protected]>
Fix `redundantNilInit` involving property wrappers

github.com/nicklockwood/SwiftFormat - f61980ec2b80bb29b135d8b2270e2b1cf7571bbc authored almost 5 years ago by Nick Lockwood <[email protected]>
Fix closure indenting after a switch statement

github.com/nicklockwood/SwiftFormat - a596cc653b9c3e4a51d91132115c3ead6546c65c authored almost 5 years ago by Nick Lockwood <[email protected]>
Remove redundant raw values for escaped reserved words

github.com/nicklockwood/SwiftFormat - 325de46e47e785c8a3e14a75b96000687a0c0a81 authored almost 5 years ago by Joshua Peek <[email protected]>
Added optional secondary command for the run script phase

github.com/nicklockwood/SwiftFormat - b2c0cdd6d7bba6577a4c0c1fc1cd0e439f8b790d authored almost 5 years ago by Iulian Onofrei <[email protected]>
Fix missing newline

github.com/nicklockwood/SwiftFormat - 2f733a24912206767053e2873b01267e083916e2 authored almost 5 years ago by Iulian Onofrei <[email protected]>
Fix incorrect wrapparameters example

github.com/nicklockwood/SwiftFormat - f463e889a06f26a1a089186ae939d5d183aabeed authored almost 5 years ago by Iulian Onofrei <[email protected]>
Make indent option value consistent with CLI help

github.com/nicklockwood/SwiftFormat - 8fb10ab6a2a5028109572a094b4a53aba924f59c authored almost 5 years ago by Iulian Onofrei <[email protected]>
Fix typo

github.com/nicklockwood/SwiftFormat - c30e98d6fb708b702ee864e0d6b21d88e154649f authored almost 5 years ago by Iulian Onofrei <[email protected]>
Update Swift Package Manager instructions

Update Swift Packager Manager & Xcode build phase instructions to support Xcode 11.4 and higher.

github.com/nicklockwood/SwiftFormat - 5719303acfd85222e2d5bbac5c861f98fc953241 authored almost 5 years ago by Tom Izaks <[email protected]>
Fix mixed indentation in code example

github.com/nicklockwood/SwiftFormat - e8751a7e489c2dcb7c8582452bb857792fc8e795 authored almost 5 years ago by Iulian Onofrei <[email protected]>
Updated for 0.44.6 release

github.com/nicklockwood/SwiftFormat - 2f1d164cb58c9a2da0452db846b7333d49f556af authored almost 5 years ago by Nick Lockwood <[email protected]>
Support path expansion and comments in file list

github.com/nicklockwood/SwiftFormat - 6836f23493f4445dad80312967c6cfebb6b7c47a authored almost 5 years ago by Nick Lockwood <[email protected]>
Support listing input files in a file

Add --filelist argument for supplying a file that contains the names
of files to process.

github.com/nicklockwood/SwiftFormat - add726980533a0f9830f288ed7a1a0d74238f2f0 authored almost 5 years ago by Juri Pakaste <[email protected]>
Fix timeout caused by multiple trailing closures

github.com/nicklockwood/SwiftFormat - 94b944a906f56920182b0e64424a8d935ab0d062 authored almost 5 years ago by zizi4n5 <[email protected]>
Update hook for format only ".swift" files

github.com/nicklockwood/SwiftFormat - 388045e9b6894752989d1eff6a7f3d0375b65432 authored almost 5 years ago by khoi <[email protected]>
Updated for 0.44.5 release

github.com/nicklockwood/SwiftFormat - 8ed727c8b332adc5418551784fcd3b2a598d904f authored almost 5 years ago by Nick Lockwood <[email protected]>
Fix `duplicateImports` removing `@testable` import

github.com/nicklockwood/SwiftFormat - 48c12281842a67c9700bbea3a03fd89f4923baa1 authored almost 5 years ago by Nick Lockwood <[email protected]>
Fix wrapping of braces in switch statements

github.com/nicklockwood/SwiftFormat - 603fd105e0543571796ad0ddaf88a434989c4402 authored almost 5 years ago by Nick Lockwood <[email protected]>
Fix wrapping of braces in extensions

github.com/nicklockwood/SwiftFormat - a5439b4601f96acddab2d2477633d821a9809351 authored almost 5 years ago by Nick Lockwood <[email protected]>
Improve `--xcodeindentation` option accuracy

github.com/nicklockwood/SwiftFormat - c032e50189c957988ee65db5367427a608cbaaf3 authored almost 5 years ago by Nick Lockwood <[email protected]>
Fix indenting of comments inside enum declarations

github.com/nicklockwood/SwiftFormat - 33588aafa78c75cd7cf7e712e2d9adf1012c2627 authored almost 5 years ago by Nick Lockwood <[email protected]>
Fix excess indentation of wrapped braces

github.com/nicklockwood/SwiftFormat - 64f4d843373506bc753c9b9ff0394c179780d07b authored almost 5 years ago by Nick Lockwood <[email protected]>
Fixed bug in `indexOfLastSignificantKeyword()` logic

github.com/nicklockwood/SwiftFormat - 362ba3167e7ec956d501172457f95f6e228c8c05 authored almost 5 years ago by zizi4n5 <[email protected]>
Updated for 0.44.4 release

github.com/nicklockwood/SwiftFormat - a935652f66f5d2c1ad82951d4bdb69b005e82803 authored almost 5 years ago by Nick Lockwood <[email protected]>
Fix return removal edge-cases

github.com/nicklockwood/SwiftFormat - 32e049d6aaf9863763ecad910dd74991b5f5f3fe authored almost 5 years ago by Nick Lockwood <[email protected]>
Fix allman braces after a numeric literal

github.com/nicklockwood/SwiftFormat - 32ad61550e5383637f9514c1e7025d039c008ce2 authored almost 5 years ago by Nick Lockwood <[email protected]>
Remove trailing linebreak when removing return

github.com/nicklockwood/SwiftFormat - 2077a30db3be8d8327d88c1ddf2cefcfca1e2b45 authored almost 5 years ago by Nick Lockwood <[email protected]>
Fix space being inserted in nested PropertyWrapper

github.com/nicklockwood/SwiftFormat - 7bdd8e5add619eb1149c75d6298b1d2c186bb7ee authored almost 5 years ago by Nick Lockwood <[email protected]>
Updated for 0.44.3 release

github.com/nicklockwood/SwiftFormat - 2cdb3c17ab8291672afdc02e6a4a0a9fe5861f79 authored almost 5 years ago by Nick Lockwood <[email protected]>
Fix closing multiline string delimiter indenting

github.com/nicklockwood/SwiftFormat - c373913429ef43ce87713964ed36976e6ee34ea9 authored almost 5 years ago by Nick Lockwood <[email protected]>
Fix redundantReturn bug

github.com/nicklockwood/SwiftFormat - d029caacc9717fbef9979a1d80e7ce4b77ea3b27 authored almost 5 years ago by Nick Lockwood <[email protected]>
Fix failure to wrap braces after struct or init

github.com/nicklockwood/SwiftFormat - e1c3e66fab62d661b51b2a0ed60e92dc96d70633 authored almost 5 years ago by Nick Lockwood <[email protected]>
Fix if statement closure edge case

github.com/nicklockwood/SwiftFormat - 27293f8507c5ca7e9d06dd7c20b3b2c21bd1b8d5 authored almost 5 years ago by Nick Lockwood <[email protected]>
Updated for 0.44.2 release

github.com/nicklockwood/SwiftFormat - 4342bfd7f074f56f7a9e5122bece2b7ed4f5cc49 authored almost 5 years ago by Nick Lockwood <[email protected]>
Extract common implementation for `removeParen()`

github.com/nicklockwood/SwiftFormat - 52d94579744604dd3fe4c57f3595585856fe059c authored almost 5 years ago by Nick Lockwood <[email protected]>
Don't break unwrap operator when removing parens

github.com/nicklockwood/SwiftFormat - aeb2912b504b08e318dee9ddbb382861b4e2b833 authored almost 5 years ago by Nick Lockwood <[email protected]>
Fix crash when wrapping lines

github.com/nicklockwood/SwiftFormat - f4e7f079ecf107294905ca51360b0f90b9c6076d authored almost 5 years ago by Nick Lockwood <[email protected]>
Fix init and subscript Allman braces not unwrapped

github.com/nicklockwood/SwiftFormat - e9228e242feaf3477ede78447bd194989bf57229 authored almost 5 years ago by Nick Lockwood <[email protected]>
Fix computed property Allman braces not unwrapped

github.com/nicklockwood/SwiftFormat - d3ec31a6a22a42730bda43e02143cf5889c77b05 authored almost 5 years ago by Nick Lockwood <[email protected]>
Prevent wrapping of image and color literals

github.com/nicklockwood/SwiftFormat - 58a6ed54fe9232ce139d471018fbc2ac3d572da9 authored almost 5 years ago by javierrivarolaq <[email protected]>
Updated for 0.44.1 release

github.com/nicklockwood/SwiftFormat - a288be04cc4c48cc850a679d4f87f0bf6b8a58d3 authored almost 5 years ago by Nick Lockwood <[email protected]>
Fix `redundantParens` rule breaking #if statement

github.com/nicklockwood/SwiftFormat - 10ebd5b58a2140926c668b3fe417336bab37b1bb authored almost 5 years ago by Nick Lockwood <[email protected]>
Fix crash in `fileHeader` rule

github.com/nicklockwood/SwiftFormat - e7b47490d53e28d0aaa67a50c5cbab24b567a68e authored almost 5 years ago by Nick Lockwood <[email protected]>
Add tests for image and color literal wrapping

github.com/nicklockwood/SwiftFormat - 4c4abf4d0ff4898c9539768684c8ca97cf4f7e5a authored almost 5 years ago by Nick Lockwood <[email protected]>
Don't add space inside preformatted comment

github.com/nicklockwood/SwiftFormat - 8d7dc33cbcbb6c27550828dbd897ff6ce5679562 authored almost 5 years ago by Nick Lockwood <[email protected]>
Fix `redundantFileprivate` and type-inferred init

github.com/nicklockwood/SwiftFormat - ce98a1da06c06df39b7c1e6f322a7f56788fac6b authored almost 5 years ago by Nick Lockwood <[email protected]>
Revert aggressive argument wrapping change

github.com/nicklockwood/SwiftFormat - 80cc858cb4a536b1c049d9b8bd4c930b3ecbb14c authored almost 5 years ago by Nick Lockwood <[email protected]>
Fix disabling for `wrap` and `wrapArguments`

github.com/nicklockwood/SwiftFormat - 7e9d580375156dd25dbfb35914fd57bf4fe610b2 authored almost 5 years ago by Nick Lockwood <[email protected]>
Fix bug in `yodaConditions` rule

github.com/nicklockwood/SwiftFormat - 36ad3cee0f21bcaa8c3efd1f0d0e764ce955a29b authored almost 5 years ago by Nick Lockwood <[email protected]>
Updated for 0.44.0 release

github.com/nicklockwood/SwiftFormat - 04a18c32ef353585ec64f18ddd3c58d1f954199d authored almost 5 years ago by Nick Lockwood <[email protected]>
Refactor Wrapping

github.com/nicklockwood/SwiftFormat - 9a30509cb645fa538b935c260972e4262e20ae39 authored almost 5 years ago by Anthony Miller <[email protected]>
Fix Xcode Indentation of return and =

When you have a `return` keyword or an `=` assignment operator, and you break next statement on ...

github.com/nicklockwood/SwiftFormat - d1132f778343cc7a2c148b11e0089fee035425c6 authored almost 5 years ago by Anthony Miller <[email protected]>
Implement wrapParameters option

github.com/nicklockwood/SwiftFormat - c5b5642706aea1f971165d164b3d7c9bd25a4bb2 authored almost 5 years ago by Anthony Miller <[email protected]>
Default --wrapParameters to --wrapArguments value

github.com/nicklockwood/SwiftFormat - 24d4ba2a3e6371c71c3ea05c7e4f97fc0dde2013 authored almost 5 years ago by Anthony Miller <[email protected]>
Fix isParameterList() bugs

github.com/nicklockwood/SwiftFormat - 8149296a1874e3c85a16b27f4e64ba00489cdb0d authored almost 5 years ago by Anthony Miller <[email protected]>
Prefer wrapping arguments instead of return type

github.com/nicklockwood/SwiftFormat - 29aa9328366df893433cc6672f523411030a5f79 authored almost 5 years ago by Anthony Miller <[email protected]>
Removed `checkNestedScope` var from wrapArguments

github.com/nicklockwood/SwiftFormat - 249b6233e93e1c34be05b3f512f9736ec8f3edd2 authored almost 5 years ago by Anthony Miller <[email protected]>
Fix reported line index for consecutiveBlankLines

github.com/nicklockwood/SwiftFormat - bb7c8bcf8efd56189bb43328988a9db547097300 authored almost 5 years ago by Nick Lockwood <[email protected]>
Fix failure to remove indent at start of file

github.com/nicklockwood/SwiftFormat - a91581849cbc3a772f671d06a073ad8e76a2f8c1 authored almost 5 years ago by Nick Lockwood <[email protected]>
Improve `isParameterList()` performance

github.com/nicklockwood/SwiftFormat - 634a6b7bba833c2296a425749dff79166c9e4cd3 authored almost 5 years ago by Nick Lockwood <[email protected]>
Ensure wrap runs before wrapArguments & indent runs last

github.com/nicklockwood/SwiftFormat - a7f3768dac1923631da9731c6610a7704c4f6f6b authored almost 5 years ago by Anthony Miller <[email protected]>
Fix wrapParameters not working for init functions

# Conflicts:
# Sources/ParsingHelpers.swift
# Tests/RulesTests.swift
# Tests/XCTestManifests.swift

github.com/nicklockwood/SwiftFormat - 2316afc32771fc5ccf3113ef5ee5d5bbfb6920df authored almost 5 years ago by Nick Lockwood <[email protected]>
Fixed bug with tracking line length in wrapArguments

github.com/nicklockwood/SwiftFormat - a0127d6821d05186a12a127bdfaf2650e4499d76 authored almost 5 years ago by Anthony Miller <[email protected]>
Fix self being removed incorrectly in if statement

github.com/nicklockwood/SwiftFormat - fe7154d921ede902a666a0de3784cfc7f5af821d authored almost 5 years ago by Nick Lockwood <[email protected]>
Improve `shouldIndentNextLine()` logic

github.com/nicklockwood/SwiftFormat - 47dc727f40424fa6e1849b6eedfb1b12b4042ad4 authored almost 5 years ago by Nick Lockwood <[email protected]>
Fix wrap for throwing functions

# Conflicts:
# Sources/ParsingHelpers.swift
# Tests/RulesTests.swift

github.com/nicklockwood/SwiftFormat - 8c24ed68f9b1f26eade82a4df2b55153c8ee487c authored almost 5 years ago by Nick Lockwood <[email protected]>
Rename extension commands and update in-app help

github.com/nicklockwood/SwiftFormat - fc41f61d71050df1ce0c43ac94e76155a2c8f5d5 authored almost 5 years ago by Nick Lockwood <[email protected]>
Add lint command to extension

github.com/nicklockwood/SwiftFormat - 6055c13ef2ca95d115d583852b34a7451d5921b8 authored almost 5 years ago by Nick Lockwood <[email protected]>
Preserve selection after formatting in extension

github.com/nicklockwood/SwiftFormat - a727441c8d578c58d23a416c6676cdbd2c91ea79 authored almost 5 years ago by Nick Lockwood <[email protected]>
Reduce cache file cruft

github.com/nicklockwood/SwiftFormat - 738f7ae27e01755f6b3b948de7c62b4dd3d7f193 authored almost 5 years ago by Nick Lockwood <[email protected]>
Fix indent logic for unbalanced closing parens

github.com/nicklockwood/SwiftFormat - 3ab2e415d3fbb04f576f54e21ce5549cd98ca731 authored almost 5 years ago by Nick Lockwood <[email protected]>
Fix indent after type attribute

github.com/nicklockwood/SwiftFormat - 6f24da31d75173efa9e32f58c48445352562ad77 authored almost 5 years ago by Nick Lockwood <[email protected]>
Fix duplicate lint warnings

github.com/nicklockwood/SwiftFormat - 356a8a8ea54534bb03d4a5084a350085c89bdd89 authored almost 5 years ago by Nick Lockwood <[email protected]>
Improve range-based formatting in extension

github.com/nicklockwood/SwiftFormat - 08f3d703d3d5a17a4cd2c5f8ab54d5e982ae5e7e authored almost 5 years ago by Nick Lockwood <[email protected]>
Wrap maxWidth function return at -> (#526)

Automatically wrap functions that exceed the `maxWidth` at the `->` for return type if needed.
...

github.com/nicklockwood/SwiftFormat - 412165e1448d654d7861af4402962f26533d58e8 authored almost 5 years ago by Anthony Miller <[email protected]>
Optimize consecutiveSpaces rule

github.com/nicklockwood/SwiftFormat - d8c97b430a3630ca39d53e75de580150f944398e authored almost 5 years ago by Nick Lockwood <[email protected]>