Xcode 4 snippet tokens not kept in sync when filling one

Originator:klaaspieter
Number:rdar://23819743 Date Originated:09-Dec-2015 01:56 PM
Status:Duplicate of 8103237 Resolved:
Product:Developer Tools Product Version:Xcode 4.x
Classification:UI/Usability Reproducible:Always
 
This is a duplicate of rdar://10071607

Summary:
Xcode 4 snippets with tokens of same name should sync while filling one of them.

Steps to Reproduce:
1. Define this snippet:
    extern NSString * const <#constant#>;
    NSString * const <#constant#> = <#constant#>;
2. Drop it into your code.
3. Hit tab to select instance of token "<#constant#>".
4. Type "NSMySuperCoolConstantString".

Expected Results:
5. "NSString * const <#constant#> = <#constant#>;" should turn into "NSString * const NSMySuperCoolConstantString = NSMySuperCoolConstantString;" as it used to do in v3.x.

Actual Results:
5. "NSString * const <#constant#> = <#constant#>;" stays unchanged/unsynced.

Regression:

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!