AlignComment is an Xcode Source Editor Extension for macOS that helps developers instantly improve code readability by aligning all comments to a consistent column
AlignComment is an Xcode Source Editor Extension for macOS that helps developers instantly improve code readability by aligning all comments to a consistent column.
Perfect for C, C++, Objective-C, and Swift, AlignComment ensures your code looks clean, structured, and easy to scan.
How it works
Assign AlignComment to a keyboard shortcut in Xcode, then use it in three simple ways:
1. No comment on the line – With no selection, it inserts a // comment at column 62.
2. Comment already present – Instantly shifts the existing comment to column 62.
3. Multiple lines selected – Aligns all existing comments in the selection to column 62 without adding new ones.
Clean, consistent comments make reading and maintaining your code faster and more pleasant—especially in large projects.