Xcode 9: bracket autocomplete inserts part of if/else template incorrectly
| Originator: | avedesk | ||
| Number: | rdar://34431355 | Date Originated: | 14-Sep-2017 02:46 PM |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | Xcode 9 |
| Classification: | UI/Usability | Reproducible: | Always |
Summary:
Xcode 9 incorrectly inserts part of an if/else-template when removing a compound statement with a single bracket. See attached movie.
Please don't request for systemconfig stuff, because this is a usability issue and has nothing to do with my system.
Steps to Reproduce:
Use:
if(something)
{
}
else
{
}
Now replace:
{
}
else
with:
{
Expected Results:
if(something)
{
Actual Results:
if(something)
{{
}
else {}
Version:
Xcode 9
Notes:
This is a regression from Xcode8
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!