Better indentation for literal arrays & dictionaries
| Originator: | subdigital | ||
| Number: | rdar://14673283 | Date Originated: | 07-Aug-2013 11:12 AM |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | Xcode 5 DP5 |
| Classification: | Enhancement | Reproducible: | Always |
Summary: Xcode's indentation strategy for literal collections needs improvement Steps to Reproduce: Type this: NSArray *items = @[ @1, @2, @3 ]; Then highlight it and press CTRL-I to auto-indent. Expected Results: The closing "]" should be on the same line as the opening one. The values should be indented. Actual Results: The closing "]" is on the same line as the values. Notes: Same exact behavior for NSDictionary would be expected.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!