XCode refactoring should honour indent size setting

Originator:syncluz
Number:rdar://12419993 Date Originated:2012-10-03
Status:Open Resolved:
Product:Developer Tools Product Version:4.5 (4G182)
Classification:Medium Reproducible:always
 
03-Oct-2012 09:54 AM Lukas Zeller:
Summary:

Refactoring in XCode does not honour the indentation size as set in XCode preferences.

Steps to Reproduce:

1) set indentation size to 2 in XCode prefs
2) take some source code which already has indentation size = 2
3) Select some code from within a method
4) Use Refactor->Extract
5) Confirm extraction

Expected Results:

The extracted method should be formatted with the indentation size as set in prefs (2 in this example)

Actual Results:

The extracted method is formatted with indentation size = 4, regardless of the prefs setting.

Regression:

n/a

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!