iOS Development-xcode code formatting xalign

Source: Internet
Author: User
<span id="Label3"></p><p><p><span style="font-family: ‘Microsoft YaHei‘; font-size: 14px;">Xcode By default can be code format, to meet the basic development needs, if you want to personalize some code alignment macro alignment, equal sign alignment, attribute alignment, Xalign provides the above three functions, reference to the effect of the text ~</span></p></p><span style="font-family: ‘Microsoft YaHei‘;"><span style="font-family: ‘Microsoft YaHei‘;"><span style="font-family: ‘Microsoft YaHei‘;">Base Effect</span></span></span><p><p><span style="font-family: ‘Microsoft YaHei‘; font-size: 14px;">Equal sign Alignment:</span></p></p><p><p><span style="font-family: ‘Microsoft YaHei‘; font-size: 14px;"></span></p></p><p><p><span style="font-family: ‘Microsoft YaHei‘; font-size: 14px;">Attribute Alignment:</span></p></p><p><p></p></p><p><p><span style="font-family: ‘Microsoft YaHei‘; font-size: 14px;">Macro Alignment:</span></p></p><p><p></p></p><span style="font-family: ‘Microsoft YaHei‘;"><span style="font-family: ‘Microsoft YaHei‘;">Plug-in Installation</span></span><p><p><span style="font-family: ‘Microsoft YaHei‘;">1. Console Commands<br></span></p></p><pre class="brush:csharp;gutter:true;"><pre class="brush:csharp;gutter:true;">Curl-fssl http://qfi.sh/XAlign/build/install.sh | Sh</pre></pre><p><p><span style="font-family: ‘Microsoft YaHei‘; font-size: 14px;">2. Manually install the download plugin package: xalign.xcplugin, Place the downloaded plugin in the ~/library/application support/developer/shared/xcode/plug-ins/directory, Finder path Search shortcut key command + SHIFT + G;</span></p></p><span style="font-family: ‘Microsoft YaHei‘; font-size: 14px;"><span style="font-family: ‘Microsoft YaHei‘; font-size: 14px;">3. Restart xcode, load xalign;</span></span><span style="font-family: ‘Microsoft YaHei‘; font-size: 14px;"><span style="font-family: ‘Microsoft YaHei‘; font-size: 14px;">4. Uninstall</span></span><pre class="brush:csharp;gutter:true;"><pre class="brush:csharp;gutter:true;">Curl-fssl http://qfi.sh/XAlign/build/uninstall.sh | Sh</pre></pre><p><p><span style="font-family: ‘Microsoft YaHei‘; font-size: 14px;">Manual installation directly to the second step<code>~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/删除插件即可~</code></span></p></p><p><p><span style="font-family: ‘Microsoft YaHei‘; font-size: 14px;">5. Through the xcode→edit→xalign option, cmd+shift+x can see the effect ~</span></p></p><p><p>iOS Development-xcode code formatting xalign</p></p></span>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.