a useful Xcode plugin to align regular code. it can align xnything with any format as u want.
there are some example format patterns below, of course, you can make your own. the example pattern file is under the main
dir. Just try it yourself.
-
Terminally
# install $ curl github.so/XAlign/build/install.sh | sh or # update $ curl github.so/XAlign/build/update.sh | sh
-
Manually
-
Download this package XAlign.tar.gz
-
then unpackage it, copy or move the
XAlign.xcplugin
to follow path:sh ~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/
tips: Quick go in findercmd+shift+g
; if there's no dirPlug-ins
, you should make one. -
then restart your Xcode.
$ curl github.so/XAlign/build/uninstall.sh | sh
Xcode -> Edit -> XAlign
shfit + cmd + x
You can setting in the setting panel, Xcode -> Edit -> XAlign -> Setting
.
I want to write more, but i am sleepy zzzzz. :)
TODO:
- how to customize ur align pattern
- my xcode plugin template
- etc.