GO FURTHER, FASTER: Try the Swift Career Accelerator today! >>

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 RevenueCat.

SPONSORED Take the pain out of configuring and testing your paywalls. RevenueCat's Paywalls allow you to remotely configure and A/B test your entire paywall UI without any code changes or app updates.

Learn more here

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

BUY OUR BOOKS
Buy Pro Swift Buy Pro SwiftUI 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 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 Beyond Code

Was this page useful? Let us know!

 
Unknown user

You are not logged in

Log in or create account
 

Link copied to your pasteboard.