numbbuaa / XAlign

a useful Xcode plugin to align regular code. it can align xnything as u want.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

XAlign

a useful Xcode plugin to align regular code. it can align xnything as u want.

What's XAlign

1. Align By Fisrt =

Equal

2. Align By Define Group

Equal

3. Align By Property Group

Equal

Install

  1. Terminally
$ curl github.so/XAlign/build/install.sh | sh
  1. Manually

  2. Download this package XAlign.tar.gz

  3. then unpackage it, copy or move the XAlign.xcplugin to follow path: ~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/ tips: Quick go in finder cmd+shift+g; if there's no dir Plug-ins, you should make one.

  4. then restart your Xcode.

Uninstall

$ curl github.so/XAlign/build/uninstall.sh | sh

Usage

re in ur Xcode

Xcode -> Edit -> XAlign 

Auto Align Shortcut

shfit + cmd + x

Not the end

I want to write more, but i am sleepy zzzzz. :)

TODO:

  • how to customize ur align pattern
  • my xcode plugin template
  • etc.

About

a useful Xcode plugin to align regular code. it can align xnything as u want.

License:MIT License