Skip to content
LineSmith for Xcode

LineSmith for Xcode

Adds 31 line-editing and Swift-generation commands to Xcode’s editor.

Mac App Store

What it does

LineSmith is a source editor extension: it appears under Editor → LineSmith in Xcode and adds the line operations Xcode never shipped — move, duplicate, delete, join and sort lines — plus Swift code generation helpers.

Assign keyboard shortcuts in Xcode → Settings → Key Bindings or the commands are a menu trip each time.

Notes

The app on disk may still be named TextPlus; that was its earlier name before it was rebranded to LineSmith. Source editor extensions must be enabled once in System Settings → Login Items & Extensions → Xcode Source Editor.

Alternative to

AlternativeTypeTrade-off
Xcode’s own commandsBuilt in⌘D duplicates a line and ⌥⌘[ / ⌥⌘] move one; check before installing anything
VS Code or Cursor with sourcekit-lspFree / FreemiumRicher line editing, at the cost of leaving Xcode
SwiftFormatOpen sourceFor the formatting half, applied consistently on save or in CI

Install

LineSmith for Xcode on the Mac App Store

Or with mas:

mas install 1234445803

Links

This post is licensed under CC BY 4.0 by the author.
Last updated on