This Xcode source editor extension align your assignment statement.
Switch branches/tags
Nothing to show
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Alignment Bumping version to 1.1.1 Mar 22, 2017
AlignmentForXcode.xcodeproj Added a setting screen Feb 9, 2017
XcodeSourceEditorExtension-Alignment Bumping version to 1.1.1 Mar 22, 2017
.gitignore Initial commit Jun 15, 2016
AlignmentForXcode.entitlements Fixed suite name for app group Feb 9, 2017
LICENSE Create LICENSE Jun 15, 2016
README.md Update README.md Feb 11, 2017

README.md

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.