xcode插件XAlign

一款十分强大的自定义对齐模式插件

开源地址:https://github.com/qfish/XAlign/

终端输入命令:

$ curl http://qfi.sh/XAlign/build/install.sh | sh

如下图:

出现如上信息之后,下载 XAlign.tar.gz ,解压,将 XAlign.xcplugin 文件移到如下目录:

~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/

重启 Xcode, Xcode -> Edit -> XAlign 直接使用,或选中自动对齐区域 Shift + Command + x 实现自动对齐

原文链接:XAlign - Xcode插件 - 对齐代码

原文地址:https://www.cnblogs.com/On1Key/p/5424138.html