Xcode插件—XAlign安裝

XAlign - Xcode插件 - 對齊代碼


一款十分強大的自定義對齊模式插件html

開源地址:https://github.com/qfish/XAlign/git


終端輸入命令:github

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

以下圖:

ui

出現如上信息以後,下載 XAlign.tar.gz ,解壓,將 XAlign.xcplugin 文件移到以下目錄:url

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

重啓 Xcode, Xcode -> Edit -> XAlign 直接使用,或選中自動對齊區域 Shift + Command + x 實現自動對齊插件

相關文章
相關標籤/搜索