An amazing Xcode plugin to align regular code. It can align anything by using custom alignment patterns.
Here are some example alignment patterns. Of course you can make your own. The example files are under the main
dir. Just try it yourself.
# install
$ curl github.so/XAlign/build/install.sh | sh
or
# update
$ curl github.so/XAlign/build/update.sh | sh
-
Download this package XAlign.tar.gz
-
Unpack it, copy or move the
XAlign.xcplugin
to the following path:~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/
Tips: To quickly go to Finder type
Shift + Cmd + G
. If there is noPlug-ins
directory, you should make one. -
Restart Xcode.
$ curl github.so/XAlign/build/uninstall.sh | sh
Xcode -> Edit -> XAlign
Shift + Cmd + X
You can choose the shortcut in the Settings panel, Xcode -> Edit -> XAlign -> Setting
.
I want to write more, but i am sleepy zzzzz. :)
TODO:
- How to customize your alignment patterns
- My Xcode plugin template
- etc.