/Line-Breaker

An Xcode source extension split long lines into multiple lines with correct formatting

Primary LanguageSwiftMIT LicenseMIT

logo

๐Ÿค” About

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

example

๐Ÿ›  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.