All Projects → qfish → Xalign

qfish / Xalign

Licence: mit
An amazing Xcode Source Editor extension to align regular code. It can align Xnything in any way you want.

Programming Languages

objective c
16641 projects - #2 most used programming language

Projects that are alternatives of or similar to Xalign

AMEGetterMaker
A lazyload getter maker without resign for Xcode
Stars: ✭ 42 (-98.55%)
Mutual labels:  xcode-plugin, xcode-extension, xcode8
Xbookmark
Bookmark Plugin for Xcode 8.x and 7.x
Stars: ✭ 72 (-97.52%)
Mutual labels:  xcode-plugin, xcode-extension
Codegenerator
A Xcode plugin for generate Objectice-C code.
Stars: ✭ 63 (-97.83%)
Mutual labels:  xcode-plugin, xcode-extension
Swimat
An Xcode formatter plug-in to format your swift code.
Stars: ✭ 1,388 (-52.1%)
Mutual labels:  xcode-plugin, xcode-extension
TrickerX
An Xcode9+ Extension which make CodingKeys automatically.
Stars: ✭ 90 (-96.89%)
Mutual labels:  xcode-plugin, xcode-extension
Import
Xcode extension for adding imports from anywhere in the code ☝️
Stars: ✭ 818 (-71.77%)
Mutual labels:  xcode-plugin, xcode-extension
Snowonder
🔮 Magical import declarations formatter for Xcode
Stars: ✭ 100 (-96.55%)
Mutual labels:  xcode-plugin, xcode-extension
Xgist
Xcode extension to send code to GitHub's Gist
Stars: ✭ 75 (-97.41%)
Mutual labels:  xcode-plugin, xcode-extension
Nef Plugin
🔌 an Xcode extension to use nef features easily
Stars: ✭ 144 (-95.03%)
Mutual labels:  xcode-plugin, xcode-extension
Xcodeequatablegenerator
Xcode 8 Source Code Extension will generate conformance to Swift Equatable protocol based on type and fields selection.
Stars: ✭ 188 (-93.51%)
Mutual labels:  xcode-plugin, xcode-extension
Linex
Feature packed Xcode extension
Stars: ✭ 210 (-92.75%)
Mutual labels:  xcode-plugin, xcode-extension
Pragmatic
⚙An Xcode Source Editor extension for simplifying common pragma driven tasks
Stars: ✭ 24 (-99.17%)
Mutual labels:  xcode-plugin, xcode-extension
Swiftmockgeneratorforxcode
An Xcode extension (plugin) to generate Swift test doubles automatically.
Stars: ✭ 522 (-81.99%)
Mutual labels:  xcode-plugin, xcode-extension
Linessorter Xcode Extension
Xcode Extension that helps you keep your import statements and long code lists organized and uniform
Stars: ✭ 54 (-98.14%)
Mutual labels:  xcode-plugin, xcode-extension
Swiftai
SwiftAI, write Swift code smart. SwiftAI can generate Model class from JSON now. Codable and HandyJSON is supported. More features will be add.
Stars: ✭ 470 (-83.78%)
Mutual labels:  xcode-plugin, xcode-extension
Xcode developer disk images
Stars: ✭ 125 (-95.69%)
Mutual labels:  xcode-plugin, xcode-extension
Awesome Xcode Extensions
Awesome native Xcode extensions.
Stars: ✭ 2,628 (-9.32%)
Mutual labels:  xcode-plugin, xcode-extension
ViewGenerator
⚒ ViewGenerator generates view code from variable name automatically in iOS development
Stars: ✭ 75 (-97.41%)
Mutual labels:  xcode-plugin, xcode-extension
AMLocalizedStringBuilder-Xcode-Plugin
AMLocalizedStringBuilder is the localized string helper which help you build your "Localizable.strings" file to class with shortcut ctrl+f.
Stars: ✭ 29 (-99%)
Mutual labels:  xcode-plugin
Xcode-AutoLazyLoad
简单的Xcode代码模板extension
Stars: ✭ 23 (-99.21%)
Mutual labels:  xcode-extension

XAlign (Ready for Xcode 8+ 🚀)

An amazing Xcode Source Editor extension to align regular code. It can align anything by using custom alignment patterns.

What's XAlign

Here are some example alignment patterns. Of course you can make your own. The pattern file is here: /Source/Patterns.bundle/default.plist, and the patterns are based on regular expression.

Tips:

  • You may not like the alignment style below, try it yourself or tell me at the Issues. :)
  • There is no need to align all codes at a time when they are complicated, try to align by group which the codes are more similar in.
  • 对齐不需要一次全部对齐,可以分组多对几次,那些等号差的太远的就别让它参与对齐了。
  • 默认对齐的风格不是你喜欢的,可以自定义,或者提个 Issues

Align by equals sign

Equal

Align by define group

Define

Align by property group

Property

Todo:

  • Much easier to customize alignment patterns.

Install on Xcode 8

  1. Download the XAlign.dmg📎 or XAlign.app.zip📎
  2. Open and copy XAlign.app to /Applications folder
  3. Run it then close it.

Usage

1. Enable XAlign

Check System Preferences -> Extensions -> Xocde Source Editor -> XAlign

help-1

2. Setting Shortcut in Xocde

Preferences -> Key bindings -> Filter: xalign

help-2

Trouble Shooting

  • Please install macOS Sierra (version 10.12) if your macOS is 10.11.
  • If you are looking for the version supporting Xcode 7, check this branch;

Want to help

Special thanks to

  • Geek Zoo Studio Geek Zoo Studio

    They provide awesome design and development works continues to help the open-source community even better.

  • BeeFramework

    BeeFramework is a new generation of development framework which makes faster and easier app development, Build your app by geek's way.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].