The extract refactoring tool can add the method declaration to class extension

Originator:guillaume.campagna
Number:rdar://10036270 Date Originated:Sun, 28 Aug 2011 15:05:22 GMT
Status:Open Resolved:
Product:Developer Tools Product Version:4.2 (4D5163b)
Classification:Feature (New) Reproducible:Not Applicable
 
Summary: When you use the "Extract" refactoring tool, it would be nice that the extracted method was added to the class extension of the refactored class if present.

Steps to Reproduce: Extract a method. Place the method implementation after the first call in the class. 

Expected Results: The refactoring tool as added the method in the class extension, so no error occurs.

Actual Results: No method declaration has been added, so a compilation error occurs.

Regression:

Notes:

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!