Xcode: Tab width setting changes do not take effect immediately

Originator:adam
Number:rdar://32694125 Date Originated:11-Jun-2017 12:18 AM
Status:Duplicate/32297869 Resolved:
Product:Developer Tools Product Version:Xcode 9.0 (9M136h)
Classification:UI/Usability Reproducible:Always
 
Summary:
Changing the tab width setting in either the Xcode preferences or the right-hand panel causes it to not apply until navigating away from the file.

Steps to Reproduce:
1. In Xcode preferences, set indentation to tabs with a width of 4 spaces. (Assuming it is currently set to the default of 4 spaces.)
2. Perform a re-indent (^I) to ensure spaces become tabs.
3. Set the tab width to 2 spaces.
4. Switch to another file, then switch back.

Expected Results:
Tab width updates immediately.

Observed Results:
Width remains the same and only changes after switching to another file and back.

Version:
Xcode 9.0 (9M136h); macOS 10.12.4

Notes:


Configuration:

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!