Lines Sorter is an Xcode Source Editor extension that makes it easy to keep your import statements and long code lists organized, uniform and easy-to-read.
- β No longer hack your Xcode to install custom plugins.
- β¨οΈ Sort and tidy import statements with a single shortcut.
- π Sort any selected lines of code: long constants definitions, enum cases, localized strings etc.
- β‘οΈ Fast, tested, secure.
- Download latest LinesSorter package from the Releases.
- Copy LinesSorter to your Applications folder.
- Launch LinesSorter once. You can close it immediately afterwards.
- Go to System Preferences > Extensions > Xcode Source Editor > select LinesSorter
- Open Xcode
- Go to Xcode > Preferences > Key Bindings
- Type 'lines sorter' in search field
- Assign β + β + β + I to Sort Imports command
- Assign β + β + β + S to Sort Selected Lines command
Pull requests, issues and suggestions are warmly welcome.
Feel free to contact me @V8tr on Twitter.