• Stars
    star
    218
  • Rank 181,805 (Top 4 %)
  • Language
    Swift
  • License
    MIT License
  • Created over 8 years ago
  • Updated about 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

This Xcode source editor extension align your assignment statement.

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.