Line Breaker is an Xcode source editor extension that helps format your code by breaking up long lines into multiple lines, and doing so with correct indentation. It can be used to break up a variety of different types of long lines of code that can plague readability in projects such as:
* Function definitions
* if let
statments
* guard let
statements
* Chained function calls
* Array declarations
* Dictionary declarations
You can check it out on GitHub here.
๐ Demo
Check out the screen recording below to see how easy it is to use Line Breaker.
๐ป Installation
You can install Line Breaker from the Mac App Store, or clone this project and run it all locally.
๐จโ๐ฉโ๐งโ๐ฆ Contributing
If you run into any problems, please submit an issue. Pull requests are also welcome! By contributing to Line Breaker you agree that your contributions will be licensed under its MIT license.
๐โโ๏ธ Author
Line Breaker was created by Matthew Pierce (@PierceMatthew)
๐ License
Line Breaker is available under the MIT license. See the LICENSE file for more info.