Neil
Neil

Reputation: 1215

Change Xcode 5 file template value for ___FULLUSERNAME___

Is it possible to change the value Xcode 5 substitutes for ___FULLUSERNAME___ when expanding file templates? Looks like this was possible in the past via defaults but it now pulls from the system's full username.

My problem is that I have two user accounts, one work and one personal. I like this separation, however, OSX prevents setting the same full username value on both accounts. I was surprised by this restriction since I assumed it was just a UI thing since the underlying account names are obviously different. Alternatively, I would accept an answer that works around this limitation.

EDIT

I don't want to copy all the standard templates into ~/Library/Developer/Xcode/Templates/File\ Templates/ and do a find a replace with my name since that creates duplicates of every template.

Upvotes: 3

Views: 719

Answers (1)

0oneo
0oneo

Reputation: 695

I achieve this by renaming my user name of OS X, check this document by Apple.

Upvotes: 2

Related Questions