[TxMt] snippet naming convention

Allan Odgaard throw-away-1 at macromates.com
Wed May 3 08:34:32 UTC 2006


On 3/5/2006, at 1:47, Aparajita Fishman wrote:

>>> array date(${1:\$array}; 0)
>>> set array($1; ${2:date})
>>
>> uhm… what is it? an array named date? or a date as an array? ;)
> That is a single command, "array date". 4th Dimension is the only  
> language (I know of) in the world that allows spaces in  
> identifiers. Makes parsing a very lovely experience. ;-)

AppleScript allows for spaces in commands and properties, like “do  
script” and “current track”.

I still do not know what an ‘array date’ is. But I would call the  
snippet that. Maybe as ‘Array Date … (array)’ (assuming array is the  
tab trigger).



More information about the textmate mailing list