qfish / XAlign

An amazing Xcode Source Editor extension to align regular code. It can align anything in any way you want.
MIT License
2.88k stars 385 forks source link

Feature request: Dictionary literal supports #41

Open VincentSit opened 9 years ago

VincentSit commented 9 years ago
  // before
  return @{@"name": @"张三",
           @"age": @"30",
           @"qq": @"12345",
           @"id": @"123456789012345678",
           @"customKey": @"value",
           @"LongLongLongLongLongLongLongLongKey": @"value"};

  // after
  return @{@"name"                   : @"张三",
           @"age"                    : @"30",
           @"qq"                     : @"12345",
           @"id"                     : @"123456789012345678",
           @"customKey"              : @"value",
           @"LongLongLongLongLongKey": @"value"};

  // after
  return @{@"name"     : @"张三",
           @"age"      : @"30",
           @"qq"       : @"12345",
           @"id"       : @"123456789012345678",
           @"customKey": @"value",
           @"LongLongLongLongLongKey": @"value"};

没有插件制作经验,看了下源码,没有详细的自定义文档无法自己动手自定义,希望能够完善下相关文档。顺便有时间可以考虑实现下此功能,和等号一样可以分段对齐。谢谢。

qfish commented 9 years ago

ok

marcelosalloum commented 9 years ago

+1

marcoscurvello commented 8 years ago

+1