Add the ability to refactor Objective-C++ code

Originator:petter.sjolin
Number:rdar://17928843 Date Originated:
Status:Duplicate/4676447 Resolved:
Product:Developer Tools Product Version:6.0
Classification:Enhancement Reproducible:Always
 
Summary:
When attempting to refactor a Objective-C++ file, e.g. rename a method, I get an error message stating "Can’t refactor Objective-C++ code. Xcode can only refactor C and Objective-C code." 

I suggest adding the functionality to also be able to refactor Objective-c++ code.

Steps to Reproduce:
1. Create a objective-c++ class  (.mm)
2. Move cursor to a method name
3. Select Refactor -> rename


Expected Results:
Allow me to rename the method in similar fashion as for Objective-C classes.

Actual Results:
I get an error message stating "Can’t refactor Objective-C++ code. Xcode can only refactor C and Objective-C code." 

Version:
Xcode Version 6.0 (6A279r)

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!