Xcode doesn't respect project's indentation setting when editing code in Assistant editor.

Originator:pitiphong.ph
Number:rdar://19716252 Date Originated:05-Feb-2015 12:54 AM
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode 6.1.1
Classification:Other Bug Reproducible:Always
 
Summary:
Xcode doesn't respect project's indentation setting when editing code in Assistant editor.

Steps to Reproduce:
1. Set indentation setting in Xcode’s Editing Preference (mine is 2 with spaces)
2. Open some Xcode project, set the indentation in File Inspector (mine is 4 with spaces)
3. Open Assistant editor and then indent some codes.


Expected Results:
Xcode indents with Xcode project’s indentation setting (in this case is 4 with spaces)

Actual Results:
Xcode ignores project’s indentation setting (use Xcode editing setting instead, in this case is 2 with spaces)

Regression:


Notes:
In the normal editor, it works correctly.

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!