NEW: Master Swift design patterns with my latest book! >>

Linex is an Xcode extension you might actually install

Paul Hudson    October 13th 2017    @twostraws

Xcode extensions were introduced in Xcode 8, but have seen limited use because there are so many restrictions – you can read some text, modify it, and send some text back, but that’s about it.

Even with those restrictions, Kaunteya Suryawanshi has managed to build something that’s actually quite useful, which is no easy feat. His new extension is called Linex, and comes with a selection of text-editing features to help you do more with your keyboard:

  • Duplicating and deleting lines.
  • Duplicating line with comment – great for trying something out without losing your existing code.
  • Joining lines together.
  • Aligning property definitions.
  • Adjusting common values, e.g. false to true or incrementing and decrementing numbers.

Having better source editor extensions was on my Xcode wish list, but until then give Linex a try.

Link: Linex.


About the author

Paul Hudson is the creator of Hacking with Swift, the most comprehensive series of Swift books in the world. He's also the editor of Swift Developer News, the maintainer of the Swift Knowledge Base, and Mario Kart world champion. OK, so that last part isn't true. If you're curious you can learn more here.

Click here to visit the Hacking with Swift store >>