Xcode 4 snippet tokens not kept in sync when filling one

Originator:satsumac
Number:rdar://10071607 Date Originated:2011-09-03
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode 4.x
Classification:UI/Usablity Reproducible:Always
 
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 insance 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

Duped as rdar://34975813

By indiekiduk at Oct. 13, 2017, 11:52 a.m. (reply...)

Duped as rdar://12477619

Duped as rdar://11115108

By kristopherdjohnson at March 24, 2012, 5:49 p.m. (reply...)

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!