tid-kijyun / XcodeSourceEditorExtension-Alignment

This Xcode source editor extension align your assignment statement.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Alignment

This Xcode source editor extension align your assignment statement.

c

Install:

download_on_the_mac_app_store_badge_us-uk_165x40

system preferences

extensions

Usage:

  1. Open your code on Xcode 8
  2. Select your code
  3. Choose menu Editor > Alignment

Settings:

screen shot 2017-02-09 at 17 09 15

  • Align assignment
     When checked, assignment statement align will be enabled.

    let value = 0
    let i = 0
    
    let value = 0
    let i     = 0
    
  • Align type declaration
    When checked, type declaration align will be enabled.

    func sort(from: Int,
              to: Int) {
    }
    
    func sort(from : Int,
              to   : Int) {
    }
    

Usage without installing:

  1. Install Xcode 8
  2. Run Xcode 8 and install additional system components
  3. Open this project in Xcode 8 and run the extension
  4. Choose an app to run: Xcode 8
  5. Select your code
  6. Choose menu Editor > Alignment

License:

The MIT License. See the LICENSE file for more infomation.

About

This Xcode source editor extension align your assignment statement.

License:MIT License


Languages

Language:Swift 100.0%