[Xcode 9] Expose UI setting for internal IDEDisableStructureEditingCoordinator

Originator:daniel.martin.carabias
Number:rdar://32840092 Date Originated:June 18 2017, 8:16 PM
Status:Open Resolved:
Product:Developer Tools Product Version:9.0
Classification:Enhancement Reproducible:Always
 
Summary:
After working on a daily basis with the latest Xcode 9 beta, some people don’t like the new feature in which the project structure is kept in sync with the filesystem structure. So, for example, whenever you move a file into an Xcode group, the file is actually moved on disk.

There’s an internal, undocumented flag to avoid this behaviour:

defaults write com.apple.dt.Xcode IDEDisableStructureEditingCoordinator -bool YES

I think the addition of a UI setting to control this behaviour (enabled by default) and its required testing may be worth the effort. See the Notes section for an example of public interest in this feature.

Steps to Reproduce:
- Open a project in Xcode 9.
- Click on Project Navigator, then drag files into groups.


Expected Results:
Files are actually moved on disk if the corresponding “Keep Xcode groups and filesystem folders in sync” UI setting is enabled. Add that new UI setting.

Actual Results:
Files are actually moved on disk.

Version:
9.0

Notes:
Example of public interest in this feature: https://twitter.com/davedelong/status/876095560159182849

Configuration:
N/A

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!