SALE: Save 50% on all my books and bundles >>

Linex is an Xcode extension you might actually install

Xcode extensions can't do much, but this one stands out.

Paul Hudson       @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.

Hacking with Swift is sponsored by Instabug

SPONSORED Catch bugs as soon as they happen and know exactly why a crash occurred by integrating Instabug's SDK in one minute. You will automatically receive device data, network logs, and reproduction steps with every bug and crash report.

Learn more and get started for free

Sponsor Hacking with Swift and reach the world's largest Swift community!

Cascable unleashes the power of your camera and unlocks powerful workflows for shooting, managing, and geotagging your photos.

BUY OUR BOOKS
Buy Pro Swift Buy Swift Design Patterns Buy Testing Swift Buy Hacking with iOS Buy Swift Coding Challenges Buy Swift on Sundays Volume One Buy Server-Side Swift (Vapor Edition) Buy Advanced iOS Volume One Buy Advanced iOS Volume Two Buy Advanced iOS Volume Three Buy Hacking with watchOS Buy Hacking with tvOS Buy Hacking with macOS Buy Dive Into SpriteKit Buy Swift in Sixty Seconds Buy Objective-C for Swift Developers Buy Server-Side Swift (Kitura Edition) Buy Beyond Code

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 a speaker at Swift events around the world. If you're curious you can learn more here.

Was this page useful? Let us know!