Xcode & Swift: Code completion for println() should put the caret inside the parentheses
| Originator: | holger.frohloff | ||
| Number: | rdar://17198584 | Date Originated: | 06-Jun-2014 |
| Status: | Open | Resolved: | No Value |
| Product: | Xcode | Product Version: | Xcode Version 6.0 (6A215l) |
| Classification: | Enhancement | Reproducible: | Always |
Summary: I think when you let Xcode 6 autocomplete println() the caret should be placed inside the parentheses so you can type the thing you want to print to the console. Unfortunately the caret is placed after the closing parenthesis so you have to step one character to the left to type the statement. Steps to Reproduce: 1. Open Xcode 6 2. Select New File 3. Create a new Swift Playground 4. Type printl and wait for the autocompletion to suggest println() 5. Confirm the suggestion and let it autocomplete it for you Expected Results: The caret (blinking cursor) should be placed inside the parentheses so I can type the thing I want to print to the console. Actual Results: The caret (blinking cursor) is placed after the closing parenthesis. Version: Xcode Version 6.0 (6A215l) Notes: Configuration: Attachments:
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!