You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An amazing Xcode plugin to align regular code. It can align anything by using custom alignment patterns.
5
5
6
6
## What's XAlign
7
7
8
-
Here are some example alignment patterns. Of course you can make your own. The pattern file is here: `XAlign/patterns.plist`, and the patterns are based on regular expression.
8
+
Here are some example alignment patterns. Of course you can make your own. The pattern file is here: `/Source/Patterns.bundle/default.plist`, and the patterns are based on regular expression.
9
9
10
10
**Tips**:
11
11
12
-
*_You may not like the alignment style below, **try it yourself** or **tell me at the [[Issues]](https://github.com/qfish/XAlign/issues?state=open)**._ :)
12
+
*_You may not like the alignment style below, **try it yourself** or **tell me at the [Issues](https://github.com/qfish/XAlign/issues?state=open)**._ :)
13
13
* There is no need to align all codes at a time when they are complicated, try to align by group which the codes are more similar in.
@@ -27,74 +27,26 @@ Here are some example alignment patterns. Of course you can make your own. The p
27
27
28
28
-[x] Much easier to customize alignment patterns.
29
29
30
-
## Install & Update
30
+
## Install on Xcode 8
31
+
1. Download the [XAlign.dmg 📎](https://github.com/qfish/XAlign/releases/download/untagged-37425b5c3153fd315072/XAlign.1.0.dmg)
32
+
2. Open and copy `XAlign.app` to `/Applications` folder
33
+
3. Run it then close it.
31
34
32
-
### Via source
33
-
34
-
1. Clone this repo
35
-
36
-
2. Then build the `XAlign` target in the Xcode project and the plug-in will automatically be installed in `~/Library/Application Support/Developer/Shared/Xcode/Plug-ins`
37
-
38
-
3. Restart Xcode.
39
-
40
-
### Via command-line
41
-
42
-
```shell
43
-
curl -fsSL http://qfi.sh/XAlign/build/install.sh | sh
44
-
```
45
-
46
-
### Manually
47
-
48
-
1. Download this package [XAlign.tar.gz](http://qfi.sh/XAlign/build/XAlign.tar.gz)
49
-
2. Unpack it, copy or move the `XAlign.xcplugin` to the following path:
0 commit comments