Re: XC3: text macros, autocompletion
Re: XC3: text macros, autocompletion
- Subject: Re: XC3: text macros, autocompletion
- From: David Ewing <email@hidden>
- Date: Thu, 29 Nov 2007 16:55:36 -0700
On Nov 25, 2007, at 5:06 PM, Kurt Stoll wrote:
Dave,
If I'm not pushing my luck, I have one more question. There are
several predefined variables in the text macros. $(YEAR) was in
C.xctxtmacro, which prompted me to try a few others. I found $
(DATE), $(FILENAME), and $(USERNAME) with the obvious definitions.
Can we get a full list of available variables? In particular, I'd
like to have something like $(LONGUSERNAME), but could not find it.
I believe this is the full list:
DATE
FILEBASENAME
FILEBASENAMEASIDENTIFIER
FILEBASENAMEASXML
FILEEXTENSION
FILENAME
FULLUSERNAME
ORGANIZATIONNAME
PROJECTNAME
PROJECTNAMEASIDENTIFIER
PROJECTNAMEASXML
TIME
USERNAME
UUID
UUIDASIDENTIFIER
YEAR
(So FULLUSERNAME is what you're looking for.)
You can also set the PBXCustomTemplateMacroDefinitions user default to
a dictionary of definitions. The most common use of this is:
defaults write com.apple.Xcode PBXCustomTemplateMacroDefinitions
'{ ORGANIZATIONNAME = "My Company"; }'
Dave
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden