Xcode-8 (8A218a): Refactor->Rename action for a class only updates its header/implementation files.
| Originator: | craig | ||
| Number: | rdar://28259516 | Date Originated: | 12-Sep-2016 04:18 PM |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | Xcode-8 (8A218a) |
| Classification: | Other Bug | Reproducible: | Always |
Summary: In Xcode 8, I’m renaming a class via the “Refactor -> Rename” tool. After providing a new name and continuing, the modal window that lists the changes that will be made only includes the class’ header and implementation. So any files that have references to the original class name are not updated to use the new name. Steps to Reproduce: Rename a class that has been used elsewhere in the codebase via the refactoring tools. Expected Results: All instances of the class’s old name, and references to the class’ header file within import statements, should be updated to reflect the new name. Actual Results: Only the class’ files are updated. Regression: This was working in Xcode 7.1 Notes: Provide additional information, such as references to related problems, workarounds and relevant 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!