Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tid-kijyun/XcodeSourceEditorExtension-Alignment
This Xcode source editor extension align your assignment statement.
https://github.com/tid-kijyun/XcodeSourceEditorExtension-Alignment
swift xcode xcode-extension
Last synced: 24 days ago
JSON representation
This Xcode source editor extension align your assignment statement.
- Host: GitHub
- URL: https://github.com/tid-kijyun/XcodeSourceEditorExtension-Alignment
- Owner: tid-kijyun
- License: mit
- Created: 2016-06-15T17:41:06.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-11-23T14:45:15.000Z (about 4 years ago)
- Last Synced: 2024-08-03T23:03:38.175Z (4 months ago)
- Topics: swift, xcode, xcode-extension
- Language: Swift
- Homepage:
- Size: 88.9 KB
- Stars: 218
- Watchers: 15
- Forks: 24
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-xcode-extensions - Alignment - This Xcode source editor extension align your assignment statement. (The list / Formatters)
README
# Alignment
This Xcode source editor extension align your assignment statement.
![c](https://cloud.githubusercontent.com/assets/1665104/16102266/ae4a0b24-33a8-11e6-943e-9a00eb6e9802.gif)
## Install:
[![download_on_the_mac_app_store_badge_us-uk_165x40](https://cloud.githubusercontent.com/assets/1665104/19629909/de5c7a64-99b9-11e6-88fc-2a39c8849920.png)](https://itunes.apple.com/us/app/alignment-for-xcode/id1168397789?ls=1&mt=12)![system preferences](https://cloud.githubusercontent.com/assets/1665104/19801236/5dc1dfec-9d39-11e6-8dc3-8cff3d7e9921.png)
![extensions](https://cloud.githubusercontent.com/assets/1665104/19801299/a45e026e-9d39-11e6-8cec-a82f30aecd9a.png)
## 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](https://cloud.githubusercontent.com/assets/1665104/22777668/521450de-eef7-11e6-98a3-82fe4e1b9188.png)
* 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.